ORK Framework  2.29.0
API Documentation
ORKFramework.Formulas.FormulaFloat Class Reference
Inheritance diagram for ORKFramework.Formulas.FormulaFloat:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 FormulaFloat (float value)
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
float GetValue (FormulaCall call)
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

FormulaFloatType type = FormulaFloatType.Value
string name = ""
bool isInt = false
FormulaVariableOrigin variableOrigin = new FormulaVariableOrigin()
MultiFloatValueUse multiVariableUseType = MultiFloatValueUse.First
int id = 0
float initialValue = 0
float offset = 0
bool isUTC = false
float value = 0
float value2 = 0

Member Function Documentation

◆ SetData()

override void ORKFramework.Formulas.FormulaFloat.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.