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

#include <SpellTemplate.h>

Inheritance diagram for SpellTemplate:
CoreTemplate PropertyClass CantripsSpellTemplate CastleMagicSpellTemplate FishingSpellTemplate GardenSpellTemplate TieredSpellTemplate WhirlyBurlySpellTemplate

Public Member Functions

std::string getName ()
 
void setName (std::string val)
 
std::string getDescription ()
 
void setDescription (std::string val)
 
std::string getAdvancedDescription ()
 
void setAdvancedDescription (std::string val)
 
std::string getDisplayName ()
 
void setDisplayName (std::string val)
 
std::string getSpellBase ()
 
void setSpellBase (std::string val)
 
Vector< SharedPointer< SpellEffect > > * getEffects ()
 
void setEffects (Vector< SharedPointer< SpellEffect > > *val)
 
std::string getSMagicSchoolName ()
 
void setSMagicSchoolName (std::string val)
 
std::string getSTypeName ()
 
void setSTypeName (std::string val)
 
int getTrainingCost ()
 
void setTrainingCost (int val)
 
int getAccuracy ()
 
void setAccuracy (int val)
 
int getBaseCost ()
 
void setBaseCost (int val)
 
int getCreditsCost ()
 
void setCreditsCost (int val)
 
int getPvpCurrencyCost ()
 
void setPvpCurrencyCost (int val)
 
int getPvpTourneyCurrencyCost ()
 
void setPvpTourneyCurrencyCost (int val)
 
std::string getBoosterPackIcon ()
 
void setBoosterPackIcon (std::string val)
 
List< unsigned int > getValidTargetSpells ()
 
void setValidTargetSpells (List< unsigned int > val)
 
bool getPvP ()
 
void setPvP (bool val)
 
bool getPvE ()
 
void setPvE (bool val)
 
bool getNoPvPEnchant ()
 
void setNoPvPEnchant (bool val)
 
bool getNoPvEEnchant ()
 
void setNoPvEEnchant (bool val)
 
bool getBattlegroundsOnly ()
 
void setBattlegroundsOnly (bool val)
 
bool getTreasure ()
 
void setTreasure (bool val)
 
bool getNoDiscard ()
 
void setNoDiscard (bool val)
 
bool getLeavesPlayWhenCast ()
 
void setLeavesPlayWhenCast (bool val)
 
int getImageIndex ()
 
void setImageIndex (int val)
 
std::string getImageName ()
 
void setImageName (std::string val)
 
bool getCloaked ()
 
void setCloaked (bool val)
 
bool getCasterInvisible ()
 
void setCasterInvisible (bool val)
 
List< std::string > getAdjectives ()
 
void setAdjectives (List< std::string > val)
 
SpellTemplate__kSpellSourceType getSpellSourceType ()
 
void setSpellSourceType (SpellTemplate__kSpellSourceType val)
 
std::string getCloakedName ()
 
void setCloakedName (std::string val)
 
RequirementList ** getPurchaseRequirements ()
 
void setPurchaseRequirements (RequirementList **val)
 
std::string getDescriptionTrainer ()
 
void setDescriptionTrainer (std::string val)
 
std::string getDescriptionCombatHUD ()
 
void setDescriptionCombatHUD (std::string val)
 
int getDisplayIndex ()
 
void setDisplayIndex (int val)
 
bool getHiddenFromEffectsWindow ()
 
void setHiddenFromEffectsWindow (bool val)
 
bool getIgnoreCharms ()
 
void setIgnoreCharms (bool val)
 
bool getAlwaysFizzle ()
 
void setAlwaysFizzle (bool val)
 
std::string getSpellCategory ()
 
void setSpellCategory (std::string val)
 
bool getShowPolymorphedName ()
 
void setShowPolymorphedName (bool val)
 
bool getSkipTruncation ()
 
void setSkipTruncation (bool val)
 
unsigned int getMaxCopies ()
 
void setMaxCopies (unsigned int val)
 
int getLevelRestriction ()
 
void setLevelRestriction (int val)
 
bool getDelayEnchantment ()
 
void setDelayEnchantment (bool val)
 
SpellEffect__kDelayOrder getDelayEnchantmentOrder ()
 
void setDelayEnchantmentOrder (SpellEffect__kDelayOrder val)
 
std::string getPreviousSpellName ()
 
void setPreviousSpellName (std::string val)
 
std::string getCardFront ()
 
void setCardFront (std::string val)
 
bool getUseGloss ()
 
void setUseGloss (bool val)
 
bool getIgnoreDispel ()
 
void setIgnoreDispel (bool val)
 
bool getBackRowFriendly ()
 
void setBackRowFriendly (bool val)
 
SharedPointer< SpellRank > * getSpellRank ()
 
void setSpellRank (SharedPointer< SpellRank > *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

◆ getAccuracy()

int SpellTemplate::getAccuracy ( )
inline

◆ getAdjectives()

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

◆ getAdvancedDescription()

std::string SpellTemplate::getAdvancedDescription ( )
inline

◆ getAlwaysFizzle()

bool SpellTemplate::getAlwaysFizzle ( )
inline

◆ getBackRowFriendly()

bool SpellTemplate::getBackRowFriendly ( )
inline

◆ getBaseCost()

int SpellTemplate::getBaseCost ( )
inline

◆ getBattlegroundsOnly()

bool SpellTemplate::getBattlegroundsOnly ( )
inline

◆ getBoosterPackIcon()

std::string SpellTemplate::getBoosterPackIcon ( )
inline

◆ getCardFront()

std::string SpellTemplate::getCardFront ( )
inline

◆ getCasterInvisible()

bool SpellTemplate::getCasterInvisible ( )
inline

◆ getCloaked()

bool SpellTemplate::getCloaked ( )
inline

◆ getCloakedName()

std::string SpellTemplate::getCloakedName ( )
inline

◆ getCreditsCost()

int SpellTemplate::getCreditsCost ( )
inline

◆ getDelayEnchantment()

bool SpellTemplate::getDelayEnchantment ( )
inline

◆ getDelayEnchantmentOrder()

SpellEffect__kDelayOrder SpellTemplate::getDelayEnchantmentOrder ( )
inline

◆ getDescription()

std::string SpellTemplate::getDescription ( )
inline

◆ getDescriptionCombatHUD()

std::string SpellTemplate::getDescriptionCombatHUD ( )
inline

◆ getDescriptionTrainer()

std::string SpellTemplate::getDescriptionTrainer ( )
inline

◆ getDisplayIndex()

int SpellTemplate::getDisplayIndex ( )
inline

◆ getDisplayName()

std::string SpellTemplate::getDisplayName ( )
inline

◆ getEffects()

Vector< SharedPointer< SpellEffect > > * SpellTemplate::getEffects ( )
inline

◆ getHiddenFromEffectsWindow()

bool SpellTemplate::getHiddenFromEffectsWindow ( )
inline

◆ getIgnoreCharms()

bool SpellTemplate::getIgnoreCharms ( )
inline

◆ getIgnoreDispel()

bool SpellTemplate::getIgnoreDispel ( )
inline

◆ getImageIndex()

int SpellTemplate::getImageIndex ( )
inline

◆ getImageName()

std::string SpellTemplate::getImageName ( )
inline

◆ getLeavesPlayWhenCast()

bool SpellTemplate::getLeavesPlayWhenCast ( )
inline

◆ getLevelRestriction()

int SpellTemplate::getLevelRestriction ( )
inline

◆ getMaxCopies()

unsigned int SpellTemplate::getMaxCopies ( )
inline

◆ getName()

std::string SpellTemplate::getName ( )
inline

◆ getNoDiscard()

bool SpellTemplate::getNoDiscard ( )
inline

◆ getNoPvEEnchant()

bool SpellTemplate::getNoPvEEnchant ( )
inline

◆ getNoPvPEnchant()

bool SpellTemplate::getNoPvPEnchant ( )
inline

◆ getPreviousSpellName()

std::string SpellTemplate::getPreviousSpellName ( )
inline

◆ getPurchaseRequirements()

RequirementList ** SpellTemplate::getPurchaseRequirements ( )
inline

◆ getPvE()

bool SpellTemplate::getPvE ( )
inline

◆ getPvP()

bool SpellTemplate::getPvP ( )
inline

◆ getPvpCurrencyCost()

int SpellTemplate::getPvpCurrencyCost ( )
inline

◆ getPvpTourneyCurrencyCost()

int SpellTemplate::getPvpTourneyCurrencyCost ( )
inline

◆ getShowPolymorphedName()

bool SpellTemplate::getShowPolymorphedName ( )
inline

◆ getSkipTruncation()

bool SpellTemplate::getSkipTruncation ( )
inline

◆ getSMagicSchoolName()

std::string SpellTemplate::getSMagicSchoolName ( )
inline

◆ getSpellBase()

std::string SpellTemplate::getSpellBase ( )
inline

◆ getSpellCategory()

std::string SpellTemplate::getSpellCategory ( )
inline

◆ getSpellRank()

SharedPointer< SpellRank > * SpellTemplate::getSpellRank ( )
inline

◆ getSpellSourceType()

SpellTemplate__kSpellSourceType SpellTemplate::getSpellSourceType ( )
inline

◆ getSTypeName()

std::string SpellTemplate::getSTypeName ( )
inline

◆ getTrainingCost()

int SpellTemplate::getTrainingCost ( )
inline

◆ getTreasure()

bool SpellTemplate::getTreasure ( )
inline

◆ getUseGloss()

bool SpellTemplate::getUseGloss ( )
inline

◆ getValidTargetSpells()

List< unsigned int > SpellTemplate::getValidTargetSpells ( )
inline

◆ setAccuracy()

void SpellTemplate::setAccuracy ( int val)
inline

◆ setAdjectives()

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

◆ setAdvancedDescription()

void SpellTemplate::setAdvancedDescription ( std::string val)
inline

◆ setAlwaysFizzle()

void SpellTemplate::setAlwaysFizzle ( bool val)
inline

◆ setBackRowFriendly()

void SpellTemplate::setBackRowFriendly ( bool val)
inline

◆ setBaseCost()

void SpellTemplate::setBaseCost ( int val)
inline

◆ setBattlegroundsOnly()

void SpellTemplate::setBattlegroundsOnly ( bool val)
inline

◆ setBoosterPackIcon()

void SpellTemplate::setBoosterPackIcon ( std::string val)
inline

◆ setCardFront()

void SpellTemplate::setCardFront ( std::string val)
inline

◆ setCasterInvisible()

void SpellTemplate::setCasterInvisible ( bool val)
inline

◆ setCloaked()

void SpellTemplate::setCloaked ( bool val)
inline

◆ setCloakedName()

void SpellTemplate::setCloakedName ( std::string val)
inline

◆ setCreditsCost()

void SpellTemplate::setCreditsCost ( int val)
inline

◆ setDelayEnchantment()

void SpellTemplate::setDelayEnchantment ( bool val)
inline

◆ setDelayEnchantmentOrder()

void SpellTemplate::setDelayEnchantmentOrder ( SpellEffect__kDelayOrder val)
inline

◆ setDescription()

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

◆ setDescriptionCombatHUD()

void SpellTemplate::setDescriptionCombatHUD ( std::string val)
inline

◆ setDescriptionTrainer()

void SpellTemplate::setDescriptionTrainer ( std::string val)
inline

◆ setDisplayIndex()

void SpellTemplate::setDisplayIndex ( int val)
inline

◆ setDisplayName()

void SpellTemplate::setDisplayName ( std::string val)
inline

◆ setEffects()

void SpellTemplate::setEffects ( Vector< SharedPointer< SpellEffect > > * val)
inline

◆ setHiddenFromEffectsWindow()

void SpellTemplate::setHiddenFromEffectsWindow ( bool val)
inline

◆ setIgnoreCharms()

void SpellTemplate::setIgnoreCharms ( bool val)
inline

◆ setIgnoreDispel()

void SpellTemplate::setIgnoreDispel ( bool val)
inline

◆ setImageIndex()

void SpellTemplate::setImageIndex ( int val)
inline

◆ setImageName()

void SpellTemplate::setImageName ( std::string val)
inline

◆ setLeavesPlayWhenCast()

void SpellTemplate::setLeavesPlayWhenCast ( bool val)
inline

◆ setLevelRestriction()

void SpellTemplate::setLevelRestriction ( int val)
inline

◆ setMaxCopies()

void SpellTemplate::setMaxCopies ( unsigned int val)
inline

◆ setName()

void SpellTemplate::setName ( std::string val)
inline

◆ setNoDiscard()

void SpellTemplate::setNoDiscard ( bool val)
inline

◆ setNoPvEEnchant()

void SpellTemplate::setNoPvEEnchant ( bool val)
inline

◆ setNoPvPEnchant()

void SpellTemplate::setNoPvPEnchant ( bool val)
inline

◆ setPreviousSpellName()

void SpellTemplate::setPreviousSpellName ( std::string val)
inline

◆ setPurchaseRequirements()

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

◆ setPvE()

void SpellTemplate::setPvE ( bool val)
inline

◆ setPvP()

void SpellTemplate::setPvP ( bool val)
inline

◆ setPvpCurrencyCost()

void SpellTemplate::setPvpCurrencyCost ( int val)
inline

◆ setPvpTourneyCurrencyCost()

void SpellTemplate::setPvpTourneyCurrencyCost ( int val)
inline

◆ setShowPolymorphedName()

void SpellTemplate::setShowPolymorphedName ( bool val)
inline

◆ setSkipTruncation()

void SpellTemplate::setSkipTruncation ( bool val)
inline

◆ setSMagicSchoolName()

void SpellTemplate::setSMagicSchoolName ( std::string val)
inline

◆ setSpellBase()

void SpellTemplate::setSpellBase ( std::string val)
inline

◆ setSpellCategory()

void SpellTemplate::setSpellCategory ( std::string val)
inline

◆ setSpellRank()

void SpellTemplate::setSpellRank ( SharedPointer< SpellRank > * val)
inline

◆ setSpellSourceType()

void SpellTemplate::setSpellSourceType ( SpellTemplate__kSpellSourceType val)
inline

◆ setSTypeName()

void SpellTemplate::setSTypeName ( std::string val)
inline

◆ setTrainingCost()

void SpellTemplate::setTrainingCost ( int val)
inline

◆ setTreasure()

void SpellTemplate::setTreasure ( bool val)
inline

◆ setUseGloss()

void SpellTemplate::setUseGloss ( bool val)
inline

◆ setValidTargetSpells()

void SpellTemplate::setValidTargetSpells ( List< unsigned int > val)
inline