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

#include <ClientPetItemBehavior.h>

Inheritance diagram for ClientPetItemBehavior:
BasePetItemBehavior BehaviorInstance PropertyClass PropertyClass

Public Member Functions

List< unsigned int > getAllTalents ()
 
void setAllTalents (List< unsigned int > val)
 
List< unsigned int > getAllDerbyTalents ()
 
void setAllDerbyTalents (List< unsigned int > val)
 
std::string getSSerializedMaxStats ()
 
void setSSerializedMaxStats (std::string val)
 
std::string getSSerializedStats ()
 
void setSSerializedStats (std::string val)
 
std::string getSSerializedTalents ()
 
void setSSerializedTalents (std::string val)
 
std::string getSSerializedDerbyTalents ()
 
void setSSerializedDerbyTalents (std::string val)
 
bool getBInitialized ()
 
void setBInitialized (bool val)
 
- Public Member Functions inherited from BasePetItemBehavior
unsigned char getLevel ()
 
void setLevel (unsigned char val)
 
unsigned int getXP ()
 
void setXP (unsigned int val)
 
int getFirstName ()
 
void setFirstName (int val)
 
int getMiddleName ()
 
void setMiddleName (int val)
 
int getLastName ()
 
void setLastName (int val)
 
List< PetStatgetCurrentStats ()
 
void setCurrentStats (List< PetStat > val)
 
List< PetStatgetMaxStats ()
 
void setMaxStats (List< PetStat > val)
 
unsigned int getHatchedTimeSecs ()
 
void setHatchedTimeSecs (unsigned int val)
 
List< unsigned int > getExpressedTalents ()
 
void setExpressedTalents (List< unsigned int > val)
 
List< unsigned int > getExpressedDerbyTalents ()
 
void setExpressedDerbyTalents (List< unsigned int > val)
 
List< std::string > getTalentRatings ()
 
void setTalentRatings (List< std::string > val)
 
List< std::string > getPowerRatings ()
 
void setPowerRatings (List< std::string > val)
 
unsigned int getOverallRating ()
 
void setOverallRating (unsigned int val)
 
unsigned int getActiveRating ()
 
void setActiveRating (unsigned int val)
 
unsigned int getCostToMorph ()
 
void setCostToMorph (unsigned int val)
 
unsigned int getRarity ()
 
void setRarity (unsigned int val)
 
unsigned int getRequiredXP ()
 
void setRequiredXP (unsigned int val)
 
int getHousingPetPrimaryColor ()
 
void setHousingPetPrimaryColor (int val)
 
int getHousingPetPattern ()
 
void setHousingPetPattern (int val)
 
int getHousingPetSecondaryColor ()
 
void setHousingPetSecondaryColor (int val)
 
gid getHousingPetOriginalGID ()
 
void setHousingPetOriginalGID (gid val)
 
unsigned int getHousingPetJewelTemplateID ()
 
void setHousingPetJewelTemplateID (unsigned int val)
 
unsigned int getHappiness ()
 
void setHappiness (unsigned int val)
 
unsigned int getMaximumHappiness ()
 
void setMaximumHappiness (unsigned int val)
 
- Public Member Functions inherited from BehaviorInstance
unsigned int getBehaviorTemplateNameID ()
 
void setBehaviorTemplateNameID (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

◆ getAllDerbyTalents()

List< unsigned int > ClientPetItemBehavior::getAllDerbyTalents ( )
inline

◆ getAllTalents()

List< unsigned int > ClientPetItemBehavior::getAllTalents ( )
inline

◆ getBInitialized()

bool ClientPetItemBehavior::getBInitialized ( )
inline

◆ getSSerializedDerbyTalents()

std::string ClientPetItemBehavior::getSSerializedDerbyTalents ( )
inline

◆ getSSerializedMaxStats()

std::string ClientPetItemBehavior::getSSerializedMaxStats ( )
inline

◆ getSSerializedStats()

std::string ClientPetItemBehavior::getSSerializedStats ( )
inline

◆ getSSerializedTalents()

std::string ClientPetItemBehavior::getSSerializedTalents ( )
inline

◆ setAllDerbyTalents()

void ClientPetItemBehavior::setAllDerbyTalents ( List< unsigned int > val)
inline

◆ setAllTalents()

void ClientPetItemBehavior::setAllTalents ( List< unsigned int > val)
inline

◆ setBInitialized()

void ClientPetItemBehavior::setBInitialized ( bool val)
inline

◆ setSSerializedDerbyTalents()

void ClientPetItemBehavior::setSSerializedDerbyTalents ( std::string val)
inline

◆ setSSerializedMaxStats()

void ClientPetItemBehavior::setSSerializedMaxStats ( std::string val)
inline

◆ setSSerializedStats()

void ClientPetItemBehavior::setSSerializedStats ( std::string val)
inline

◆ setSSerializedTalents()

void ClientPetItemBehavior::setSSerializedTalents ( std::string val)
inline