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

#include <CombatAction.h>

Inheritance diagram for CombatAction:
PropertyClass

Public Member Functions

int getSpellCaster ()
 
void setSpellCaster (int val)
 
SharedPointer< Spell > * getSpell ()
 
void setSpell (SharedPointer< Spell > *val)
 
char getSpellHits ()
 
void setSpellHits (char val)
 
unsigned int getEffectChosen ()
 
void setEffectChosen (unsigned int val)
 
bool getInterrupt ()
 
void setInterrupt (bool val)
 
bool getSigilSpell ()
 
void setSigilSpell (bool val)
 
bool getShowCast ()
 
void setShowCast (bool val)
 
unsigned char getCriticalHitRoll ()
 
void setCriticalHitRoll (unsigned char val)
 
unsigned char getStunResistRoll ()
 
void setStunResistRoll (unsigned char val)
 
bool getBlocksCalculated ()
 
void setBlocksCalculated (bool val)
 
std::string getSerializedBlocks ()
 
void setSerializedBlocks (std::string val)
 
std::string getStringKeyMessage ()
 
void setStringKeyMessage (std::string val)
 
std::string getSoundFileName ()
 
void setSoundFileName (std::string val)
 
float getDurationModifier ()
 
void setDurationModifier (float val)
 
std::string getSerializedTargetsAffected ()
 
void setSerializedTargetsAffected (std::string val)
 
List< int > getTargetSubcircleList ()
 
void setTargetSubcircleList (List< int > val)
 
int getPipConversionRoll ()
 
void setPipConversionRoll (int val)
 
Vector< int > getRandomSpellEffectPerTargetRolls ()
 
void setRandomSpellEffectPerTargetRolls (Vector< int > val)
 
bool getHandledRandomSpellPerTarget ()
 
void setHandledRandomSpellPerTarget (bool val)
 
bool getConfusedTarget ()
 
void setConfusedTarget (bool val)
 
bool getForceSpell ()
 
void setForceSpell (bool val)
 
bool getAfterDied ()
 
void setAfterDied (bool val)
 
bool getDelayed ()
 
void setDelayed (bool val)
 
bool getDelayedEnchanted ()
 
void setDelayedEnchanted (bool val)
 
bool getPetCast ()
 
void setPetCast (bool val)
 
bool getPetCasted ()
 
void setPetCasted (bool val)
 
int getPetCastTarget ()
 
void setPetCastTarget (int val)
 
unsigned char getXPipCost ()
 
void setXPipCost (unsigned char 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

◆ getAfterDied()

bool CombatAction::getAfterDied ( )
inline

◆ getBlocksCalculated()

bool CombatAction::getBlocksCalculated ( )
inline

◆ getConfusedTarget()

bool CombatAction::getConfusedTarget ( )
inline

◆ getCriticalHitRoll()

unsigned char CombatAction::getCriticalHitRoll ( )
inline

◆ getDelayed()

bool CombatAction::getDelayed ( )
inline

◆ getDelayedEnchanted()

bool CombatAction::getDelayedEnchanted ( )
inline

◆ getDurationModifier()

float CombatAction::getDurationModifier ( )
inline

◆ getEffectChosen()

unsigned int CombatAction::getEffectChosen ( )
inline

◆ getForceSpell()

bool CombatAction::getForceSpell ( )
inline

◆ getHandledRandomSpellPerTarget()

bool CombatAction::getHandledRandomSpellPerTarget ( )
inline

◆ getInterrupt()

bool CombatAction::getInterrupt ( )
inline

◆ getPetCast()

bool CombatAction::getPetCast ( )
inline

◆ getPetCasted()

bool CombatAction::getPetCasted ( )
inline

◆ getPetCastTarget()

int CombatAction::getPetCastTarget ( )
inline

◆ getPipConversionRoll()

int CombatAction::getPipConversionRoll ( )
inline

◆ getRandomSpellEffectPerTargetRolls()

Vector< int > CombatAction::getRandomSpellEffectPerTargetRolls ( )
inline

◆ getSerializedBlocks()

std::string CombatAction::getSerializedBlocks ( )
inline

◆ getSerializedTargetsAffected()

std::string CombatAction::getSerializedTargetsAffected ( )
inline

◆ getShowCast()

bool CombatAction::getShowCast ( )
inline

◆ getSigilSpell()

bool CombatAction::getSigilSpell ( )
inline

◆ getSoundFileName()

std::string CombatAction::getSoundFileName ( )
inline

◆ getSpell()

SharedPointer< Spell > * CombatAction::getSpell ( )
inline

◆ getSpellCaster()

int CombatAction::getSpellCaster ( )
inline

◆ getSpellHits()

char CombatAction::getSpellHits ( )
inline

◆ getStringKeyMessage()

std::string CombatAction::getStringKeyMessage ( )
inline

◆ getStunResistRoll()

unsigned char CombatAction::getStunResistRoll ( )
inline

◆ getTargetSubcircleList()

List< int > CombatAction::getTargetSubcircleList ( )
inline

◆ getXPipCost()

unsigned char CombatAction::getXPipCost ( )
inline

◆ setAfterDied()

void CombatAction::setAfterDied ( bool val)
inline

◆ setBlocksCalculated()

void CombatAction::setBlocksCalculated ( bool val)
inline

◆ setConfusedTarget()

void CombatAction::setConfusedTarget ( bool val)
inline

◆ setCriticalHitRoll()

void CombatAction::setCriticalHitRoll ( unsigned char val)
inline

◆ setDelayed()

void CombatAction::setDelayed ( bool val)
inline

◆ setDelayedEnchanted()

void CombatAction::setDelayedEnchanted ( bool val)
inline

◆ setDurationModifier()

void CombatAction::setDurationModifier ( float val)
inline

◆ setEffectChosen()

void CombatAction::setEffectChosen ( unsigned int val)
inline

◆ setForceSpell()

void CombatAction::setForceSpell ( bool val)
inline

◆ setHandledRandomSpellPerTarget()

void CombatAction::setHandledRandomSpellPerTarget ( bool val)
inline

◆ setInterrupt()

void CombatAction::setInterrupt ( bool val)
inline

◆ setPetCast()

void CombatAction::setPetCast ( bool val)
inline

◆ setPetCasted()

void CombatAction::setPetCasted ( bool val)
inline

◆ setPetCastTarget()

void CombatAction::setPetCastTarget ( int val)
inline

◆ setPipConversionRoll()

void CombatAction::setPipConversionRoll ( int val)
inline

◆ setRandomSpellEffectPerTargetRolls()

void CombatAction::setRandomSpellEffectPerTargetRolls ( Vector< int > val)
inline

◆ setSerializedBlocks()

void CombatAction::setSerializedBlocks ( std::string val)
inline

◆ setSerializedTargetsAffected()

void CombatAction::setSerializedTargetsAffected ( std::string val)
inline

◆ setShowCast()

void CombatAction::setShowCast ( bool val)
inline

◆ setSigilSpell()

void CombatAction::setSigilSpell ( bool val)
inline

◆ setSoundFileName()

void CombatAction::setSoundFileName ( std::string val)
inline

◆ setSpell()

void CombatAction::setSpell ( SharedPointer< Spell > * val)
inline

◆ setSpellCaster()

void CombatAction::setSpellCaster ( int val)
inline

◆ setSpellHits()

void CombatAction::setSpellHits ( char val)
inline

◆ setStringKeyMessage()

void CombatAction::setStringKeyMessage ( std::string val)
inline

◆ setStunResistRoll()

void CombatAction::setStunResistRoll ( unsigned char val)
inline

◆ setTargetSubcircleList()

void CombatAction::setTargetSubcircleList ( List< int > val)
inline

◆ setXPipCost()

void CombatAction::setXPipCost ( unsigned char val)
inline