Cyrus Mod Loader
Loading...
Searching...
No Matches
CastleMagicTimer Class Reference

#include <CastleMagicTimer.h>

Inheritance diagram for CastleMagicTimer:
PropertyClass

Public Member Functions

gid getTimerGID ()
 
void setTimerGID (gid val)
 
unsigned int getOnSeconds ()
 
void setOnSeconds (unsigned int val)
 
unsigned int getOffSeconds ()
 
void setOffSeconds (unsigned int val)
 
bool getTimerRunsContinuously ()
 
void setTimerRunsContinuously (bool val)
 
bool getIsOnTimer ()
 
void setIsOnTimer (bool val)
 
float getTimeLeft ()
 
void setTimeLeft (float val)
 
bool getDisplayOnScreen ()
 
void setDisplayOnScreen (bool val)
 
bool getFastTimer ()
 
void setFastTimer (bool val)
 
- Public Member Functions inherited from PropertyClass
virtual char * getClassName ()=0
 Gets the class name of the derived class in the format class T[*].
 
virtual void * getPropertyList ()=0
 Constructs and caches the PropertyList for the derived class, adding all reflected members and member functions.
 
virtual bool copy (uint32_t a1)=0
 Copies the property class data.
 
virtual void * serialize (void *a2, uint32_t a3)=0
 Serializes the derived class's PropertyList as XML.
 
virtual bool onCreated ()=0
 Called when the PropertyClass is created.
 
template<typename T >
CYRUS T * as ()
 Casts this to a pointer of type T.
 
virtual void onPostLoad ()=0
 Called when the PropertyClass is loaded, i.e., initialize is called and onCreated has finished.
 
virtual void onFinalizeLoad ()=0
 
virtual bool shouldNotSerialize ()=0
 Determines if the PropertyClass should not be serialized.
 

Member Function Documentation

◆ getDisplayOnScreen()

bool CastleMagicTimer::getDisplayOnScreen ( )
inline

◆ getFastTimer()

bool CastleMagicTimer::getFastTimer ( )
inline

◆ getIsOnTimer()

bool CastleMagicTimer::getIsOnTimer ( )
inline

◆ getOffSeconds()

unsigned int CastleMagicTimer::getOffSeconds ( )
inline

◆ getOnSeconds()

unsigned int CastleMagicTimer::getOnSeconds ( )
inline

◆ getTimeLeft()

float CastleMagicTimer::getTimeLeft ( )
inline

◆ getTimerGID()

gid CastleMagicTimer::getTimerGID ( )
inline

◆ getTimerRunsContinuously()

bool CastleMagicTimer::getTimerRunsContinuously ( )
inline

◆ setDisplayOnScreen()

void CastleMagicTimer::setDisplayOnScreen ( bool val)
inline

◆ setFastTimer()

void CastleMagicTimer::setFastTimer ( bool val)
inline

◆ setIsOnTimer()

void CastleMagicTimer::setIsOnTimer ( bool val)
inline

◆ setOffSeconds()

void CastleMagicTimer::setOffSeconds ( unsigned int val)
inline

◆ setOnSeconds()

void CastleMagicTimer::setOnSeconds ( unsigned int val)
inline

◆ setTimeLeft()

void CastleMagicTimer::setTimeLeft ( float val)
inline

◆ setTimerGID()

void CastleMagicTimer::setTimerGID ( gid val)
inline

◆ setTimerRunsContinuously()

void CastleMagicTimer::setTimerRunsContinuously ( bool val)
inline