Cyrus Mod Loader
|
#include <SpellTemplate.h>
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) |
![]() | |
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 | |
![]() | |
std::vector< BehaviorTemplate * > | behaviors |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |