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

#include <ZoneTokenCount.h>

Inheritance diagram for ZoneTokenCount:
ZoneTokenBase PropertyClass ClientZoneTokenCount

Public Member Functions

int getMinValue ()
 
void setMinValue (int val)
 
int getStartValue ()
 
void setStartValue (int val)
 
int getMaxValue ()
 
void setMaxValue (int val)
 
int getCurValue ()
 
void setCurValue (int val)
 
ZTCounterType getCounterType ()
 
void setCounterType (ZTCounterType val)
 
SharedPointer< ResultList > * getOnIncrease ()
 
void setOnIncrease (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getOnDecrease ()
 
void setOnDecrease (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getOnEmpty ()
 
void setOnEmpty (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getOnFull ()
 
void setOnFull (SharedPointer< ResultList > *val)
 
- Public Member Functions inherited from ZoneTokenBase
std::string getDebugName ()
 
void setDebugName (std::string val)
 
List< std::string > getAdjectiveList ()
 
void setAdjectiveList (List< std::string > val)
 
std::string getIcon ()
 
void setIcon (std::string val)
 
std::string getIconBW ()
 
void setIconBW (std::string val)
 
std::string getDescription ()
 
void setDescription (std::string val)
 
ZTDisplayMode getDisplayMode ()
 
void setDisplayMode (ZTDisplayMode val)
 
ZTStorage getStorage ()
 
void setStorage (ZTStorage val)
 
SharedPointer< ResultList > * getOnEnable ()
 
void setOnEnable (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getOnDiscover ()
 
void setOnDiscover (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getOnDisable ()
 
void setOnDisable (SharedPointer< ResultList > *val)
 
gid getSourceID ()
 
void setSourceID (gid val)
 
bool getInZone ()
 
void setInZone (bool val)
 
bool getEnabled ()
 
void setEnabled (bool val)
 
bool getDiscovered ()
 
void setDiscovered (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

◆ getCounterType()

ZTCounterType ZoneTokenCount::getCounterType ( )
inline

◆ getCurValue()

int ZoneTokenCount::getCurValue ( )
inline

◆ getMaxValue()

int ZoneTokenCount::getMaxValue ( )
inline

◆ getMinValue()

int ZoneTokenCount::getMinValue ( )
inline

◆ getOnDecrease()

SharedPointer< ResultList > * ZoneTokenCount::getOnDecrease ( )
inline

◆ getOnEmpty()

SharedPointer< ResultList > * ZoneTokenCount::getOnEmpty ( )
inline

◆ getOnFull()

SharedPointer< ResultList > * ZoneTokenCount::getOnFull ( )
inline

◆ getOnIncrease()

SharedPointer< ResultList > * ZoneTokenCount::getOnIncrease ( )
inline

◆ getStartValue()

int ZoneTokenCount::getStartValue ( )
inline

◆ setCounterType()

void ZoneTokenCount::setCounterType ( ZTCounterType val)
inline

◆ setCurValue()

void ZoneTokenCount::setCurValue ( int val)
inline

◆ setMaxValue()

void ZoneTokenCount::setMaxValue ( int val)
inline

◆ setMinValue()

void ZoneTokenCount::setMinValue ( int val)
inline

◆ setOnDecrease()

void ZoneTokenCount::setOnDecrease ( SharedPointer< ResultList > * val)
inline

◆ setOnEmpty()

void ZoneTokenCount::setOnEmpty ( SharedPointer< ResultList > * val)
inline

◆ setOnFull()

void ZoneTokenCount::setOnFull ( SharedPointer< ResultList > * val)
inline

◆ setOnIncrease()

void ZoneTokenCount::setOnIncrease ( SharedPointer< ResultList > * val)
inline

◆ setStartValue()

void ZoneTokenCount::setStartValue ( int val)
inline