ORK Framework  2.26.1
API Documentation
ORKFramework.UI.GameOption Class Reference
Inheritance diagram for ORKFramework.UI.GameOption:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
BaseValueInput GetValueInput (VariableHandler variableHandler)
 
void SetNewValue (VariableHandler variableHandler, BaseValueInput input)
 
void ResetValue (VariableHandler variableHandler)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

GameOptionType type = GameOptionType.Custom
 
string [] name = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
StringValue variableKey = new StringValue()
 
bool isPlayerPrefs = false
 
GameVariableInputType inputType = GameVariableInputType.String
 
bool isPassword = false
 
FormulaOperator floatOperator = FormulaOperator.Set
 
bool asInt = false
 
FloatValue minValue
 
FloatValue maxValue
 
bool volumeAsInt = false
 
bool useChannel = false
 
int channel = 0
 
int minTextSpeed = 0
 
int maxTextSpeed = 4
 
float maxRandomBattleChance = 100
 
bool rbcAsInt = false
 
bool ownNumberInput = false
 
NumberInputSettings numberInput
 

Member Function Documentation

◆ SetData()

override void ORKFramework.UI.GameOption.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.