ORK Framework  2.29.3
API Documentation
ORKFramework.AI.AIFloat Class Reference
Inheritance diagram for ORKFramework.AI.AIFloat:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 AIFloat (float value)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
float GetValue (BattleAICall call, Combatant user, Combatant target)
string GetInfoText ()
- 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

NumberValueType type = NumberValueType.Value
AIVariableOrigin variableOrigin = new AIVariableOrigin()
MultiFloatValueUse multiVariableUseType = MultiFloatValueUse.First
string name = ""
bool isInt = false
int id = 0
float initialValue = 0
float offset = 0
bool isUTC = false
float value = 0
float value2 = 0
Rounding rounding = Rounding.None

Member Function Documentation

◆ SetData()

override void ORKFramework.AI.AIFloat.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.