Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.Timer Class Reference
Inheritance diagram for GamingIsLove.Makinom.Timer:
GamingIsLove.Makinom.ISaveData

Public Member Functions

 Timer (VariableHandler handler, TimerType type, string variableKey, TimerEndType endType, float endTime)
 
 Timer (DataObject data, VariableHandler handler)
 
void Register ()
 
void Unregister ()
 
void Tick (float delta)
 
DataObject SaveGame ()
 Used to save the data - you need to add the data to a GamingIsLove.Makinom.DataObject. More...
 
void LoadGame (DataObject data)
 Used to load the data - you need to get the data from the GamingIsLove.Makinom.DataObject. More...
 

Member Function Documentation

◆ LoadGame()

void GamingIsLove.Makinom.Timer.LoadGame ( DataObject  data)

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()

DataObject GamingIsLove.Makinom.Timer.SaveGame ( )

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.