Makinom  2.15.4
API Documentation
GamingIsLove.Makinom.VariableHandler Class Reference
Inheritance diagram for GamingIsLove.Makinom.VariableHandler:
GamingIsLove.Makinom.ISaveData

Public Member Functions

 VariableHandler (VariableHandler copy)
 
void Clear ()
 
void Transfer (VariableHandler handler)
 
void FireChanged ()
 
void FireStringChanged (string key)
 
void FireBoolChanged (string key)
 
void FireIntChanged (string key)
 
void FireFloatChanged (string key)
 
void FireVector3Changed (string key)
 
void FireRemoved (string key, VariableRemoveType type)
 
void FireStringListChanged (string key, int index)
 
void FireStringListChanged (string key, List< string > value)
 
void FireBoolListChanged (string key, int index)
 
void FireBoolListChanged (string key, List< bool > value)
 
void FireIntListChanged (string key, int index)
 
void FireIntListChanged (string key, List< int > value)
 
void FireFloatListChanged (string key, int index)
 
void FireFloatListChanged (string key, List< float > value)
 
void FireVector3ListChanged (string key, int index)
 
void FireVector3ListChanged (string key, List< Vector3 > value)
 
void FireListRemoved (string key, VariableListChangeType changeType, int index, VariableRemoveType type)
 
bool IsEqual (VariableHandler handler)
 
void Remove (string key, VariableRemoveType type)
 
void RemoveWithoutNotify (string key, VariableRemoveType type)
 
string GetString (string key)
 
bool GetBool (string key)
 
int GetInt (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, int value)
 
void Set (string key, float value)
 
void Set (string key, Vector3 value)
 
void SetWithoutNotify (string key, string value)
 
void SetWithoutNotify (string key, bool value)
 
void SetWithoutNotify (string key, int value)
 
void SetWithoutNotify (string key, float value)
 
void SetWithoutNotify (string key, Vector3 value)
 
bool Check (string key, string value)
 
bool Check (string key, bool value)
 
bool Check (string key, int value)
 
bool Check (string key, float value)
 
bool Check (string key, Vector3 value)
 
bool KeyExists (string key, VariableType type)
 
bool KeyExistsString (string key)
 
bool KeyExistsBool (string key)
 
bool KeyExistsInt (string key)
 
bool KeyExistsFloat (string key)
 
bool KeyExistsVector3 (string key)
 
void ChangeString (string key, string value, StringOperator op, string value2)
 
bool CheckString (string key, string value, StringValueCheck type)
 
void ChangeInt (string key, int value, FloatOperator op)
 
bool CheckInt (string key, int value, int value2, ValueCheckType type)
 
void ChangeFloat (string key, float value, FloatOperator op)
 
bool CheckFloat (string key, float value, float value2, ValueCheckType type)
 
void StartTimer (TimerType type, string key, TimerEndType endType, float endTime)
 
void StopTimer (string key)
 
void PauseTimer (string key, bool pause)
 
void StopAllTimers ()
 
bool IsTimerRunning (string key)
 
bool IsTimerPaused (string key)
 
void TickFloat (string key, float delta)
 
void ChangeVector3 (string key, Vector3 value, Vector3Operator op, bool normalize)
 
bool CheckVector3 (string key, Vector3 value, float distance, float distance2, ValueCheckType type)
 
void ChangeAxisVector3 (AxisType axis, string key, float value, FloatOperator op)
 
bool CheckAxisVector3 (AxisType axis, string key, float value, float value2, ValueCheckType type)
 
List< string > GetStringKeys ()
 
List< string > GetBoolKeys ()
 
List< string > GetIntKeys ()
 
List< string > GetFloatKeys ()
 
List< string > GetVector3Keys ()
 
virtual DataObject GetCopyData ()
 
virtual DataObject SaveGame ()
 Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject. More...
 
virtual void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject. More...
 

Static Public Member Functions

static int GetMultiInt (string key, List< VariableHandler > handlers, MultiFloatValueUse type)
 
static float GetMultiFloat (string key, List< VariableHandler > handlers, MultiFloatValueUse type)
 

Properties

Notify Changed
 
NotifyVariableChanged StringChanged
 
NotifyVariableChanged BoolChanged
 
NotifyVariableChanged IntChanged
 
NotifyVariableChanged FloatChanged
 
NotifyVariableChanged Vector3Changed
 
VariableRemoved Removed
 
NotifyVariableListChanged StringListChanged
 
NotifyVariableListChanged BoolListChanged
 
NotifyVariableListChanged IntListChanged
 
NotifyVariableListChanged FloatListChanged
 
NotifyVariableListChanged Vector3ListChanged
 
VariableListRemoved ListRemoved
 
bool HasLists [get]
 
VariableListHandler Lists [get]
 
bool IsEmpty [get]
 

Member Function Documentation

◆ LoadGame()

virtual void GamingIsLove.Makinom.VariableHandler.LoadGame ( DataObject  data)
virtual

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

Parameters
dataA GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.

◆ SaveGame()

virtual DataObject GamingIsLove.Makinom.VariableHandler.SaveGame ( )
virtual

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

Returns
A GamingIsLove.Makinom.DataObject containing the data.

Implements GamingIsLove.Makinom.ISaveData.