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

#include <DuelModifier.h>

Inheritance diagram for DuelModifier:
PropertyClass

Public Member Functions

List< std::string > getCombatTriggers ()
 
void setCombatTriggers (List< std::string > val)
 
bool getNoTreasureCards ()
 
void setNoTreasureCards (bool val)
 
List< SharedPointer< SpellEffect > > * getBattlefieldEffects ()
 
void setBattlefieldEffects (List< SharedPointer< SpellEffect > > *val)
 
List< SharedPointer< GameEffectInfo > > * getGameEffects ()
 
void setGameEffects (List< SharedPointer< GameEffectInfo > > *val)
 
bool getOnlyTreasureCards ()
 
void setOnlyTreasureCards (bool val)
 
bool getNoShadowSpells ()
 
void setNoShadowSpells (bool val)
 
bool getNoCrits ()
 
void setNoCrits (bool val)
 
bool getNoEnchantedTreasureCards ()
 
void setNoEnchantedTreasureCards (bool val)
 
bool getNoEnchantmentSpells ()
 
void setNoEnchantmentSpells (bool val)
 
bool getNoMaycastSpells ()
 
void setNoMaycastSpells (bool val)
 
bool getEnableSpellLevelRestrictions ()
 
void setEnableSpellLevelRestrictions (bool val)
 
bool getIgnoreSpellsPvPOnlyFlag ()
 
void setIgnoreSpellsPvPOnlyFlag (bool val)
 
bool getIgnoreSpellsPvEOnlyFlag ()
 
void setIgnoreSpellsPvEOnlyFlag (bool val)
 
List< int > getRequiredSpellsAdjectives ()
 
void setRequiredSpellsAdjectives (List< int > val)
 
List< int > getBannedSpellsAdjectives ()
 
void setBannedSpellsAdjectives (List< int > 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

◆ getBannedSpellsAdjectives()

List< int > DuelModifier::getBannedSpellsAdjectives ( )
inline

◆ getBattlefieldEffects()

List< SharedPointer< SpellEffect > > * DuelModifier::getBattlefieldEffects ( )
inline

◆ getCombatTriggers()

List< std::string > DuelModifier::getCombatTriggers ( )
inline

◆ getEnableSpellLevelRestrictions()

bool DuelModifier::getEnableSpellLevelRestrictions ( )
inline

◆ getGameEffects()

List< SharedPointer< GameEffectInfo > > * DuelModifier::getGameEffects ( )
inline

◆ getIgnoreSpellsPvEOnlyFlag()

bool DuelModifier::getIgnoreSpellsPvEOnlyFlag ( )
inline

◆ getIgnoreSpellsPvPOnlyFlag()

bool DuelModifier::getIgnoreSpellsPvPOnlyFlag ( )
inline

◆ getNoCrits()

bool DuelModifier::getNoCrits ( )
inline

◆ getNoEnchantedTreasureCards()

bool DuelModifier::getNoEnchantedTreasureCards ( )
inline

◆ getNoEnchantmentSpells()

bool DuelModifier::getNoEnchantmentSpells ( )
inline

◆ getNoMaycastSpells()

bool DuelModifier::getNoMaycastSpells ( )
inline

◆ getNoShadowSpells()

bool DuelModifier::getNoShadowSpells ( )
inline

◆ getNoTreasureCards()

bool DuelModifier::getNoTreasureCards ( )
inline

◆ getOnlyTreasureCards()

bool DuelModifier::getOnlyTreasureCards ( )
inline

◆ getRequiredSpellsAdjectives()

List< int > DuelModifier::getRequiredSpellsAdjectives ( )
inline

◆ setBannedSpellsAdjectives()

void DuelModifier::setBannedSpellsAdjectives ( List< int > val)
inline

◆ setBattlefieldEffects()

void DuelModifier::setBattlefieldEffects ( List< SharedPointer< SpellEffect > > * val)
inline

◆ setCombatTriggers()

void DuelModifier::setCombatTriggers ( List< std::string > val)
inline

◆ setEnableSpellLevelRestrictions()

void DuelModifier::setEnableSpellLevelRestrictions ( bool val)
inline

◆ setGameEffects()

void DuelModifier::setGameEffects ( List< SharedPointer< GameEffectInfo > > * val)
inline

◆ setIgnoreSpellsPvEOnlyFlag()

void DuelModifier::setIgnoreSpellsPvEOnlyFlag ( bool val)
inline

◆ setIgnoreSpellsPvPOnlyFlag()

void DuelModifier::setIgnoreSpellsPvPOnlyFlag ( bool val)
inline

◆ setNoCrits()

void DuelModifier::setNoCrits ( bool val)
inline

◆ setNoEnchantedTreasureCards()

void DuelModifier::setNoEnchantedTreasureCards ( bool val)
inline

◆ setNoEnchantmentSpells()

void DuelModifier::setNoEnchantmentSpells ( bool val)
inline

◆ setNoMaycastSpells()

void DuelModifier::setNoMaycastSpells ( bool val)
inline

◆ setNoShadowSpells()

void DuelModifier::setNoShadowSpells ( bool val)
inline

◆ setNoTreasureCards()

void DuelModifier::setNoTreasureCards ( bool val)
inline

◆ setOnlyTreasureCards()

void DuelModifier::setOnlyTreasureCards ( bool val)
inline

◆ setRequiredSpellsAdjectives()

void DuelModifier::setRequiredSpellsAdjectives ( List< int > val)
inline