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

Inherits TaleWorlds.Engine.Options.NativeOptionData, and TaleWorlds.Engine.Options.INumericOptionData.

Public Member Functions

 NativeNumericOptionData (NativeOptions.NativeOptionsType type)
 
float GetMinValue ()
 
float GetMaxValue ()
 
bool GetIsDiscrete ()
 
int GetDiscreteIncrementInterval ()
 
bool GetShouldUpdateContinuously ()
 Represents if value should be updated while slider is moving rather than on release.
 
- Public Member Functions inherited from TaleWorlds.Engine.Options.NativeOptionData
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 ()
 
float GetMinValue ()
 
float GetMaxValue ()
 
bool GetIsDiscrete ()
 
int GetDiscreteIncrementInterval ()
 
bool GetShouldUpdateContinuously ()
 Represents if value should be updated while slider is moving rather than on release.
 

Additional Inherited Members

- Public Attributes inherited from TaleWorlds.Engine.Options.NativeOptionData
readonly NativeOptions.NativeOptionsType 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 inherited from TaleWorlds.Engine.Options.NativeOptionData
 NativeOptionData (NativeOptions.NativeOptionsType type)
 

Constructor & Destructor Documentation

◆ NativeNumericOptionData()

TaleWorlds.Engine.Options.NativeNumericOptionData.NativeNumericOptionData ( NativeOptions::NativeOptionsType  type)

Member Function Documentation

◆ GetMinValue()

float TaleWorlds.Engine.Options.NativeNumericOptionData.GetMinValue ( )

◆ GetMaxValue()

float TaleWorlds.Engine.Options.NativeNumericOptionData.GetMaxValue ( )

◆ GetIsDiscrete()

bool TaleWorlds.Engine.Options.NativeNumericOptionData.GetIsDiscrete ( )

◆ GetDiscreteIncrementInterval()

int TaleWorlds.Engine.Options.NativeNumericOptionData.GetDiscreteIncrementInterval ( )

◆ GetShouldUpdateContinuously()

bool TaleWorlds.Engine.Options.NativeNumericOptionData.GetShouldUpdateContinuously ( )