ORK Framework  2.27.1
API Documentation
ORKFramework.VariableHandler Class Reference
Inheritance diagram for ORKFramework.VariableHandler:
ORKFramework.ISaveData

Public Member Functions

void FireChanged ()
 
bool IsEqual (VariableHandler handler)
 
 VariableHandler (bool notifyNavigation)
 
void Clear ()
 
void Remove (string key)
 
string GetString (string key)
 
bool GetBool (string key)
 
float GetFloat (string key)
 
Vector3 GetVector3 (string key)
 
void Set (string key, string value)
 
void Set (string key, bool value)
 
void Set (string key, float value)
 
void Set (string key, Vector3 value)
 
bool Check (string key, string value)
 
bool Check (string key, bool value)
 
bool Check (string key, float value)
 
bool Check (string key, Vector3 value)
 
void ChangeFloat (string key, float value, FormulaOperator op)
 
bool CheckFloat (string key, float value, float value2, ValueCheckType type)
 
void ChangeVector3 (string key, Vector3 value, Vector3Operator op, bool normalize)
 
bool CheckVector3 (string key, Vector3 value, float distance, float distance2, ValueCheckType type)
 
List< string > GetStringKeys ()
 
List< string > GetBoolKeys ()
 
List< string > GetFloatKeys ()
 
List< string > GetVector3Keys ()
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a ORKFramework.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the ORKFramework.DataObject. More...
 

Static Public Member Functions

static VariableHandler GetHandler (IContentSimple content)
 
static float GetMultiFloat (string key, List< VariableHandler > handlers, MultiFloatValueUse type)
 

Properties

Notify Changed
 
bool IsEmpty [get]
 

Member Function Documentation

◆ LoadGame()

void ORKFramework.VariableHandler.LoadGame ( DataObject  data)

Used to load the data - you need to get the data from the ORKFramework.DataObject.

Parameters
dataA ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.

◆ SaveGame()

DataObject ORKFramework.VariableHandler.SaveGame ( )

Used to save the data - you need to add the data to a ORKFramework.DataObject.

Returns
A ORKFramework.DataObject containing the data.

Implements ORKFramework.ISaveData.