ORK Framework  2.27.1
API Documentation
ORKFramework.CheckVariableBase Class Reference
Inheritance diagram for ORKFramework.CheckVariableBase:
ORKFramework.BaseData ORKFramework.IBaseData ORKFramework.AI.CheckVariableAINextNode ORKFramework.Events.CheckVariableNextNode ORKFramework.SimpleCheckGameVariable

Public Types

enum  VariableValueCheck {
  IsEqual, IsLess, IsGreater, NotEqual,
  RangeInclusive, RangeExclusive, Approximately, None

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool Check (string key, VariableHandler handler)
string GetInfoText ()
void OnBeforeSerialize ()
void OnAfterDeserialize ()
- 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

bool isValid = true
GameVariableType type = GameVariableType.String
StringValue stringValue
ValueCheck check
Vector3Value vector3Value

Member Function Documentation

◆ SetData()

override void ORKFramework.CheckVariableBase.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.