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

#include <CrownShopItem.h>

Inheritance diagram for CrownShopItem:
PropertyClass

Public Member Functions

gid getItemTemplateId ()
 
void setItemTemplateId (gid val)
 
int getItemFlags ()
 
void setItemFlags (int val)
 
int getGoldCost ()
 
void setGoldCost (int val)
 
int getCrownsCost ()
 
void setCrownsCost (int val)
 
int getTicketCost ()
 
void setTicketCost (int val)
 
std::string getDisplayPriority ()
 
void setDisplayPriority (std::string val)
 
int getStrikethruCrowns ()
 
void setStrikethruCrowns (int val)
 
int getStrikethruGold ()
 
void setStrikethruGold (int val)
 
std::string getDescription ()
 
void setDescription (std::string val)
 
unsigned int getSaleID ()
 
void setSaleID (unsigned int val)
 
bool getRecommendIfOwned ()
 
void setRecommendIfOwned (bool val)
 
bool getCombatOnly ()
 
void setCombatOnly (bool val)
 
bool getNoGift ()
 
void setNoGift (bool val)
 
std::string getSegReqsStatement ()
 
void setSegReqsStatement (std::string val)
 
List< std::string > getSegReqsPoolsStatements ()
 
void setSegReqsPoolsStatements (List< std::string > 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

◆ getCombatOnly()

bool CrownShopItem::getCombatOnly ( )
inline

◆ getCrownsCost()

int CrownShopItem::getCrownsCost ( )
inline

◆ getDescription()

std::string CrownShopItem::getDescription ( )
inline

◆ getDisplayPriority()

std::string CrownShopItem::getDisplayPriority ( )
inline

◆ getGoldCost()

int CrownShopItem::getGoldCost ( )
inline

◆ getItemFlags()

int CrownShopItem::getItemFlags ( )
inline

◆ getItemTemplateId()

gid CrownShopItem::getItemTemplateId ( )
inline

◆ getNoGift()

bool CrownShopItem::getNoGift ( )
inline

◆ getRecommendIfOwned()

bool CrownShopItem::getRecommendIfOwned ( )
inline

◆ getSaleID()

unsigned int CrownShopItem::getSaleID ( )
inline

◆ getSegReqsPoolsStatements()

List< std::string > CrownShopItem::getSegReqsPoolsStatements ( )
inline

◆ getSegReqsStatement()

std::string CrownShopItem::getSegReqsStatement ( )
inline

◆ getStrikethruCrowns()

int CrownShopItem::getStrikethruCrowns ( )
inline

◆ getStrikethruGold()

int CrownShopItem::getStrikethruGold ( )
inline

◆ getTicketCost()

int CrownShopItem::getTicketCost ( )
inline

◆ setCombatOnly()

void CrownShopItem::setCombatOnly ( bool val)
inline

◆ setCrownsCost()

void CrownShopItem::setCrownsCost ( int val)
inline

◆ setDescription()

void CrownShopItem::setDescription ( std::string val)
inline

◆ setDisplayPriority()

void CrownShopItem::setDisplayPriority ( std::string val)
inline

◆ setGoldCost()

void CrownShopItem::setGoldCost ( int val)
inline

◆ setItemFlags()

void CrownShopItem::setItemFlags ( int val)
inline

◆ setItemTemplateId()

void CrownShopItem::setItemTemplateId ( gid val)
inline

◆ setNoGift()

void CrownShopItem::setNoGift ( bool val)
inline

◆ setRecommendIfOwned()

void CrownShopItem::setRecommendIfOwned ( bool val)
inline

◆ setSaleID()

void CrownShopItem::setSaleID ( unsigned int val)
inline

◆ setSegReqsPoolsStatements()

void CrownShopItem::setSegReqsPoolsStatements ( List< std::string > val)
inline

◆ setSegReqsStatement()

void CrownShopItem::setSegReqsStatement ( std::string val)
inline

◆ setStrikethruCrowns()

void CrownShopItem::setStrikethruCrowns ( int val)
inline

◆ setStrikethruGold()

void CrownShopItem::setStrikethruGold ( int val)
inline

◆ setTicketCost()

void CrownShopItem::setTicketCost ( int val)
inline