ORK Framework  2.26.1
API Documentation
ORKFramework.Events.EventInteger Class Reference
Inheritance diagram for ORKFramework.Events.EventInteger:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 EventInteger (int value)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
int GetValue (BaseEvent baseEvent)
 
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
 
EventVariableOrigin variableOrigin = new EventVariableOrigin()
 
MultiFloatValueUse multiVariableUseType = MultiFloatValueUse.First
 
string name = ""
 
bool isInt = false
 
EventObjectSetting userObject
 
EventObjectSetting targetObject
 
int formulaID = 0
 
float initialValue = 0
 
float offset = 0
 
bool isUTC = false
 
int value = 0
 
int value2 = 0
 
Rounding rounding = Rounding.None
 

Member Function Documentation

◆ SetData()

override void ORKFramework.Events.EventInteger.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.