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

#include <BoosterPackTemplate.h>

Inheritance diagram for BoosterPackTemplate:
WizItemTemplate ItemTemplate GameObjectTemplate CoreTemplate PropertyClass

Public Member Functions

List< std::string > getLootTables ()
 
void setLootTables (List< std::string > val)
 
List< gid > getFeaturedRewards ()
 
void setFeaturedRewards (List< gid > val)
 
std::string getNif ()
 
void setNif (std::string val)
 
BoosterPackTemplate__BoosterPackType getBoosterPackType ()
 
void setBoosterPackType (BoosterPackTemplate__BoosterPackType val)
 
- Public Member Functions inherited from WizItemTemplate
int getNumPrimaryColors ()
 
void setNumPrimaryColors (int val)
 
int getNumSecondaryColors ()
 
void setNumSecondaryColors (int val)
 
int getNumPatterns ()
 
void setNumPatterns (int val)
 
std::string getSchool ()
 
void setSchool (std::string val)
 
int getArenaPointCost ()
 
void setArenaPointCost (int val)
 
int getPvpCurrencyCost ()
 
void setPvpCurrencyCost (int val)
 
int getPvpTourneyCurrencyCost ()
 
void setPvpTourneyCurrencyCost (int val)
 
int getRank ()
 
void setRank (int val)
 
int getBoyIconIndex ()
 
void setBoyIconIndex (int val)
 
int getGirlIconIndex ()
 
void setGirlIconIndex (int val)
 
SharedPointer< LeashOffsetOverride > * getLeashOffsetOverride ()
 
void setLeashOffsetOverride (SharedPointer< LeashOffsetOverride > *val)
 
RarityType getRarity ()
 
void setRarity (RarityType val)
 
- Public Member Functions inherited from ItemTemplate
RequirementList ** getEquipRequirements ()
 
void setEquipRequirements (RequirementList **val)
 
RequirementList ** getPurchaseRequirements ()
 
void setPurchaseRequirements (RequirementList **val)
 
List< GameEffectInfo * > * getEquipEffects ()
 
void setEquipEffects (List< GameEffectInfo * > *val)
 
float getBaseCost ()
 
void setBaseCost (float val)
 
float getCreditsCost ()
 
void setCreditsCost (float val)
 
AvatarItemInfoBase ** getAvatarInfo ()
 
void setAvatarInfo (AvatarItemInfoBase **val)
 
List< std::string > getAvatarFlags ()
 
void setAvatarFlags (List< std::string > val)
 
int getItemLimit ()
 
void setItemLimit (int val)
 
std::string getHolidayFlag ()
 
void setHolidayFlag (std::string val)
 
unsigned int getItemSetBonusTemplateID ()
 
void setItemSetBonusTemplateID (unsigned int val)
 
float GetBaseCost ()
 
float GetCreditsCost ()
 
- 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 GameObjectTemplate
std::string objectName
 
uint32_t templateID
 
uint32_t visualID
 
std::string description
 
std::string displayName
 
GameObjectType objectType
 
uint32_t pad2
 
std::string icon
 
bool exemptFromAOI
 
uint8_t pad [0x7]
 
std::list< std::string > adjectiveList
 
uint8_t pad1 [0x10]
 
- Public Attributes inherited from CoreTemplate
std::vector< BehaviorTemplate * > behaviors
 

Member Function Documentation

◆ getBoosterPackType()

BoosterPackTemplate__BoosterPackType BoosterPackTemplate::getBoosterPackType ( )
inline

◆ getFeaturedRewards()

List< gid > BoosterPackTemplate::getFeaturedRewards ( )
inline

◆ getLootTables()

List< std::string > BoosterPackTemplate::getLootTables ( )
inline

◆ getNif()

std::string BoosterPackTemplate::getNif ( )
inline

◆ setBoosterPackType()

void BoosterPackTemplate::setBoosterPackType ( BoosterPackTemplate__BoosterPackType val)
inline

◆ setFeaturedRewards()

void BoosterPackTemplate::setFeaturedRewards ( List< gid > val)
inline

◆ setLootTables()

void BoosterPackTemplate::setLootTables ( List< std::string > val)
inline

◆ setNif()

void BoosterPackTemplate::setNif ( std::string val)
inline