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

#include <ElixirBehaviorTemplate.h>

Inheritance diagram for ElixirBehaviorTemplate:
TimedItemBehaviorTemplate BehaviorTemplate PropertyClass ElixirBenefitBehaviorTemplate LevelUpElixirBehaviorTemplate WorldElixirBehaviorTemplate

Public Member Functions

List< std::string > getTypeList ()
 
void setTypeList (List< std::string > val)
 
std::string getEquipParticle ()
 
void setEquipParticle (std::string val)
 
std::string getUnequipParticle ()
 
void setUnequipParticle (std::string val)
 
std::string getEquipSound ()
 
void setEquipSound (std::string val)
 
std::string getUnequipSound ()
 
void setUnequipSound (std::string val)
 
SharedPointer< ResultList > * getEquipActionList ()
 
void setEquipActionList (SharedPointer< ResultList > *val)
 
SharedPointer< ResultList > * getUnequipActionList ()
 
void setUnequipActionList (SharedPointer< ResultList > *val)
 
bool getCombatEnabled ()
 
void setCombatEnabled (bool val)
 
bool getPvPEnabled ()
 
void setPvPEnabled (bool val)
 
- Public Member Functions inherited from TimedItemBehaviorTemplate
std::string getExpireTime ()
 
void setExpireTime (std::string val)
 
TimerType getTimerType ()
 
void setTimerType (TimerType 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.
 

Additional Inherited Members

- Public Attributes inherited from BehaviorTemplate
std::string name
 

Member Function Documentation

◆ getCombatEnabled()

bool ElixirBehaviorTemplate::getCombatEnabled ( )
inline

◆ getEquipActionList()

SharedPointer< ResultList > * ElixirBehaviorTemplate::getEquipActionList ( )
inline

◆ getEquipParticle()

std::string ElixirBehaviorTemplate::getEquipParticle ( )
inline

◆ getEquipSound()

std::string ElixirBehaviorTemplate::getEquipSound ( )
inline

◆ getPvPEnabled()

bool ElixirBehaviorTemplate::getPvPEnabled ( )
inline

◆ getTypeList()

List< std::string > ElixirBehaviorTemplate::getTypeList ( )
inline

◆ getUnequipActionList()

SharedPointer< ResultList > * ElixirBehaviorTemplate::getUnequipActionList ( )
inline

◆ getUnequipParticle()

std::string ElixirBehaviorTemplate::getUnequipParticle ( )
inline

◆ getUnequipSound()

std::string ElixirBehaviorTemplate::getUnequipSound ( )
inline

◆ setCombatEnabled()

void ElixirBehaviorTemplate::setCombatEnabled ( bool val)
inline

◆ setEquipActionList()

void ElixirBehaviorTemplate::setEquipActionList ( SharedPointer< ResultList > * val)
inline

◆ setEquipParticle()

void ElixirBehaviorTemplate::setEquipParticle ( std::string val)
inline

◆ setEquipSound()

void ElixirBehaviorTemplate::setEquipSound ( std::string val)
inline

◆ setPvPEnabled()

void ElixirBehaviorTemplate::setPvPEnabled ( bool val)
inline

◆ setTypeList()

void ElixirBehaviorTemplate::setTypeList ( List< std::string > val)
inline

◆ setUnequipActionList()

void ElixirBehaviorTemplate::setUnequipActionList ( SharedPointer< ResultList > * val)
inline

◆ setUnequipParticle()

void ElixirBehaviorTemplate::setUnequipParticle ( std::string val)
inline

◆ setUnequipSound()

void ElixirBehaviorTemplate::setUnequipSound ( std::string val)
inline