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

#include <SpawnObject.h>

Inheritance diagram for SpawnObject:
PropertyClass

Public Member Functions

std::string getName ()
 
void setName (std::string val)
 
gid getId ()
 
void setId (gid val)
 
bool getActive ()
 
void setActive (bool val)
 
bool getPopSensitive ()
 
void setPopSensitive (bool val)
 
unsigned int getMaxNumberOfSpawns ()
 
void setMaxNumberOfSpawns (unsigned int val)
 
bool getAtLeastOneSpawn ()
 
void setAtLeastOneSpawn (bool val)
 
bool getActivateAtMax ()
 
void setActivateAtMax (bool val)
 
int getSpawnTime ()
 
void setSpawnTime (int val)
 
unsigned int getRespawnRate ()
 
void setRespawnRate (unsigned int val)
 
List< SpawnItem * > * getSpawnList ()
 
void setSpawnList (List< SpawnItem * > *val)
 
RequirementList ** getGlobalDynamicReqs ()
 
void setGlobalDynamicReqs (RequirementList **val)
 
bool getGlobalDynamic ()
 
void setGlobalDynamic (bool val)
 
bool getWaitForTimer ()
 
void setWaitForTimer (bool val)
 
unsigned int getZoneLevelMin ()
 
void setZoneLevelMin (unsigned int val)
 
unsigned int getZoneLevelMax ()
 
void setZoneLevelMax (unsigned int val)
 
unsigned int getZoneLevelUp ()
 
void setZoneLevelUp (unsigned int 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

◆ getActivateAtMax()

bool SpawnObject::getActivateAtMax ( )
inline

◆ getActive()

bool SpawnObject::getActive ( )
inline

◆ getAtLeastOneSpawn()

bool SpawnObject::getAtLeastOneSpawn ( )
inline

◆ getGlobalDynamic()

bool SpawnObject::getGlobalDynamic ( )
inline

◆ getGlobalDynamicReqs()

RequirementList ** SpawnObject::getGlobalDynamicReqs ( )
inline

◆ getId()

gid SpawnObject::getId ( )
inline

◆ getMaxNumberOfSpawns()

unsigned int SpawnObject::getMaxNumberOfSpawns ( )
inline

◆ getName()

std::string SpawnObject::getName ( )
inline

◆ getPopSensitive()

bool SpawnObject::getPopSensitive ( )
inline

◆ getRespawnRate()

unsigned int SpawnObject::getRespawnRate ( )
inline

◆ getSpawnList()

List< SpawnItem * > * SpawnObject::getSpawnList ( )
inline

◆ getSpawnTime()

int SpawnObject::getSpawnTime ( )
inline

◆ getWaitForTimer()

bool SpawnObject::getWaitForTimer ( )
inline

◆ getZoneLevelMax()

unsigned int SpawnObject::getZoneLevelMax ( )
inline

◆ getZoneLevelMin()

unsigned int SpawnObject::getZoneLevelMin ( )
inline

◆ getZoneLevelUp()

unsigned int SpawnObject::getZoneLevelUp ( )
inline

◆ setActivateAtMax()

void SpawnObject::setActivateAtMax ( bool val)
inline

◆ setActive()

void SpawnObject::setActive ( bool val)
inline

◆ setAtLeastOneSpawn()

void SpawnObject::setAtLeastOneSpawn ( bool val)
inline

◆ setGlobalDynamic()

void SpawnObject::setGlobalDynamic ( bool val)
inline

◆ setGlobalDynamicReqs()

void SpawnObject::setGlobalDynamicReqs ( RequirementList ** val)
inline

◆ setId()

void SpawnObject::setId ( gid val)
inline

◆ setMaxNumberOfSpawns()

void SpawnObject::setMaxNumberOfSpawns ( unsigned int val)
inline

◆ setName()

void SpawnObject::setName ( std::string val)
inline

◆ setPopSensitive()

void SpawnObject::setPopSensitive ( bool val)
inline

◆ setRespawnRate()

void SpawnObject::setRespawnRate ( unsigned int val)
inline

◆ setSpawnList()

void SpawnObject::setSpawnList ( List< SpawnItem * > * val)
inline

◆ setSpawnTime()

void SpawnObject::setSpawnTime ( int val)
inline

◆ setWaitForTimer()

void SpawnObject::setWaitForTimer ( bool val)
inline

◆ setZoneLevelMax()

void SpawnObject::setZoneLevelMax ( unsigned int val)
inline

◆ setZoneLevelMin()

void SpawnObject::setZoneLevelMin ( unsigned int val)
inline

◆ setZoneLevelUp()

void SpawnObject::setZoneLevelUp ( unsigned int val)
inline