M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.Options.IOptionData Interface Reference

Inherited by TaleWorlds.Engine.Options.IBooleanOptionData, TaleWorlds.Engine.Options.INumericOptionData, TaleWorlds.Engine.Options.ISelectionOptionData, TaleWorlds.Engine.Options.NativeOptionData, TaleWorlds.MountAndBlade.Options.ActionOptionData, and TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.

Public Member Functions

float GetDefaultValue ()
 
void Commit ()
 
float GetValue (bool forceRefresh)
 
void SetValue (float value)
 
object GetOptionType ()
 
bool IsNative ()
 
bool IsAction ()
 Not everything we show in Options has to be Managed or Native option. We might need to show Actions like "Open Benchmark". IsAction represents if this Option is an Action and does NOT represent an option value.
 
bool GetIsDisabledAndReasonID ()
 

Public Attributes

 string
 Returns if the option is disabled or not. If the option is disabled an explanation text id is expected. This is not a localized text but it's the text id for a localized text.
 

Member Function Documentation

◆ GetDefaultValue()

◆ Commit()

◆ GetValue()

◆ SetValue()

◆ GetOptionType()

◆ IsNative()

◆ IsAction()

◆ GetIsDisabledAndReasonID()

Member Data Documentation

◆ string

TaleWorlds.Engine.Options.IOptionData.string