M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData Class Reference

Inherits TaleWorlds.Engine.Options.IOptionData.

Inherited by TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedBooleanOptionData, TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedNumericOptionData, and TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedSelectionOptionData.

Public Member Functions

virtual 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 ()
 
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

readonly MountAndBlade.ManagedOptions.ManagedOptionsType Type
 
 string
 
- Public Attributes inherited from TaleWorlds.Engine.Options.IOptionData
 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.
 

Protected Member Functions

 ManagedOptionData (MountAndBlade.ManagedOptions.ManagedOptionsType type)
 

Constructor & Destructor Documentation

◆ ManagedOptionData()

TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.ManagedOptionData ( MountAndBlade::ManagedOptions::ManagedOptionsType  type)
protected

Member Function Documentation

◆ GetDefaultValue()

virtual float TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.GetDefaultValue ( )
virtual

◆ Commit()

void TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.Commit ( )

◆ GetValue()

float TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.GetValue ( bool  forceRefresh)

◆ SetValue()

void TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.SetValue ( float  value)

◆ GetOptionType()

object TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.GetOptionType ( )

◆ IsNative()

bool TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.IsNative ( )

◆ IsAction()

bool TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.IsAction ( )

◆ GetIsDisabledAndReasonID()

bool TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.GetIsDisabledAndReasonID ( )

Member Data Documentation

◆ Type

readonly MountAndBlade.ManagedOptions.ManagedOptionsType TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.Type

◆ string

TaleWorlds.MountAndBlade.Options.ManagedOptions.ManagedOptionData.string