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

#include <RecipeTemplate.h>

Inheritance diagram for RecipeTemplate:
CoreTemplate PropertyClass

Public Member Functions

std::string getRecipeName ()
 
void setRecipeName (std::string val)
 
List< Ingredient * > * getIngredients ()
 
void setIngredients (List< Ingredient * > *val)
 
std::string getDisplayKey ()
 
void setDisplayKey (std::string val)
 
gid getItemID ()
 
void setItemID (gid val)
 
std::string getSpellName ()
 
void setSpellName (std::string val)
 
List< std::string > getAdjectives ()
 
void setAdjectives (List< std::string > val)
 
int getCookTime ()
 
void setCookTime (int val)
 
int getGoldCost ()
 
void setGoldCost (int val)
 
int getCrownsCost ()
 
void setCrownsCost (int val)
 
int getArenaPointCost ()
 
void setArenaPointCost (int val)
 
int getPvpCurrencyCost ()
 
void setPvpCurrencyCost (int val)
 
int getPvpTourneyCurrencyCost ()
 
void setPvpTourneyCurrencyCost (int val)
 
std::string getSchool ()
 
void setSchool (std::string val)
 
RequirementList ** getPurchaseRequirements ()
 
void setPurchaseRequirements (RequirementList **val)
 
std::string getHolidayFlag ()
 
void setHolidayFlag (std::string val)
 
std::string getItemLootTable ()
 
void setItemLootTable (std::string val)
 
std::string getAlternateDescription ()
 
void setAlternateDescription (std::string val)
 
RequirementList ** getDisplayRequirements ()
 
void setDisplayRequirements (RequirementList **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 CoreTemplate
std::vector< BehaviorTemplate * > behaviors
 

Member Function Documentation

◆ getAdjectives()

List< std::string > RecipeTemplate::getAdjectives ( )
inline

◆ getAlternateDescription()

std::string RecipeTemplate::getAlternateDescription ( )
inline

◆ getArenaPointCost()

int RecipeTemplate::getArenaPointCost ( )
inline

◆ getCookTime()

int RecipeTemplate::getCookTime ( )
inline

◆ getCrownsCost()

int RecipeTemplate::getCrownsCost ( )
inline

◆ getDisplayKey()

std::string RecipeTemplate::getDisplayKey ( )
inline

◆ getDisplayRequirements()

RequirementList ** RecipeTemplate::getDisplayRequirements ( )
inline

◆ getGoldCost()

int RecipeTemplate::getGoldCost ( )
inline

◆ getHolidayFlag()

std::string RecipeTemplate::getHolidayFlag ( )
inline

◆ getIngredients()

List< Ingredient * > * RecipeTemplate::getIngredients ( )
inline

◆ getItemID()

gid RecipeTemplate::getItemID ( )
inline

◆ getItemLootTable()

std::string RecipeTemplate::getItemLootTable ( )
inline

◆ getPurchaseRequirements()

RequirementList ** RecipeTemplate::getPurchaseRequirements ( )
inline

◆ getPvpCurrencyCost()

int RecipeTemplate::getPvpCurrencyCost ( )
inline

◆ getPvpTourneyCurrencyCost()

int RecipeTemplate::getPvpTourneyCurrencyCost ( )
inline

◆ getRecipeName()

std::string RecipeTemplate::getRecipeName ( )
inline

◆ getSchool()

std::string RecipeTemplate::getSchool ( )
inline

◆ getSpellName()

std::string RecipeTemplate::getSpellName ( )
inline

◆ setAdjectives()

void RecipeTemplate::setAdjectives ( List< std::string > val)
inline

◆ setAlternateDescription()

void RecipeTemplate::setAlternateDescription ( std::string val)
inline

◆ setArenaPointCost()

void RecipeTemplate::setArenaPointCost ( int val)
inline

◆ setCookTime()

void RecipeTemplate::setCookTime ( int val)
inline

◆ setCrownsCost()

void RecipeTemplate::setCrownsCost ( int val)
inline

◆ setDisplayKey()

void RecipeTemplate::setDisplayKey ( std::string val)
inline

◆ setDisplayRequirements()

void RecipeTemplate::setDisplayRequirements ( RequirementList ** val)
inline

◆ setGoldCost()

void RecipeTemplate::setGoldCost ( int val)
inline

◆ setHolidayFlag()

void RecipeTemplate::setHolidayFlag ( std::string val)
inline

◆ setIngredients()

void RecipeTemplate::setIngredients ( List< Ingredient * > * val)
inline

◆ setItemID()

void RecipeTemplate::setItemID ( gid val)
inline

◆ setItemLootTable()

void RecipeTemplate::setItemLootTable ( std::string val)
inline

◆ setPurchaseRequirements()

void RecipeTemplate::setPurchaseRequirements ( RequirementList ** val)
inline

◆ setPvpCurrencyCost()

void RecipeTemplate::setPvpCurrencyCost ( int val)
inline

◆ setPvpTourneyCurrencyCost()

void RecipeTemplate::setPvpTourneyCurrencyCost ( int val)
inline

◆ setRecipeName()

void RecipeTemplate::setRecipeName ( std::string val)
inline

◆ setSchool()

void RecipeTemplate::setSchool ( std::string val)
inline

◆ setSpellName()

void RecipeTemplate::setSpellName ( std::string val)
inline