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

#include <NPCBehaviorTemplate.h>

Inheritance diagram for NPCBehaviorTemplate:
BehaviorTemplate PropertyClass

Public Member Functions

int getNStartingHealth ()
 
void setNStartingHealth (int val)
 
bool getHideCurrentHP ()
 
void setHideCurrentHP (bool val)
 
int getNLevel ()
 
void setNLevel (int val)
 
float getFIntelligence ()
 
void setFIntelligence (float val)
 
float getFSelfishFactor ()
 
void setFSelfishFactor (float val)
 
Color getNameColor ()
 
void setNameColor (Color val)
 
bool getBossMob ()
 
void setBossMob (bool val)
 
bool getTurnTowardsPlayer ()
 
void setTurnTowardsPlayer (bool val)
 
NPCBehaviorTemplate__TITLE_TYPE getMobTitle ()
 
void setMobTitle (NPCBehaviorTemplate__TITLE_TYPE val)
 
std::string getSchoolOfFocus ()
 
void setSchoolOfFocus (std::string val)
 
int getNAggressiveFactor ()
 
void setNAggressiveFactor (int val)
 
std::string getTriggerList ()
 
void setTriggerList (std::string val)
 
float getCylinderScaleValue ()
 
void setCylinderScaleValue (float val)
 
int getMaxShadowPips ()
 
void setMaxShadowPips (int val)
 
List< SharedPointer< GameEffectInfo > > * getBaseEffects ()
 
void setBaseEffects (List< SharedPointer< GameEffectInfo > > *val)
 
std::string getSecondarySchoolOfFocus ()
 
void setSecondarySchoolOfFocus (std::string 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 BehaviorTemplate
std::string name
 

Member Function Documentation

◆ getBaseEffects()

List< SharedPointer< GameEffectInfo > > * NPCBehaviorTemplate::getBaseEffects ( )
inline

◆ getBossMob()

bool NPCBehaviorTemplate::getBossMob ( )
inline

◆ getCylinderScaleValue()

float NPCBehaviorTemplate::getCylinderScaleValue ( )
inline

◆ getFIntelligence()

float NPCBehaviorTemplate::getFIntelligence ( )
inline

◆ getFSelfishFactor()

float NPCBehaviorTemplate::getFSelfishFactor ( )
inline

◆ getHideCurrentHP()

bool NPCBehaviorTemplate::getHideCurrentHP ( )
inline

◆ getMaxShadowPips()

int NPCBehaviorTemplate::getMaxShadowPips ( )
inline

◆ getMobTitle()

NPCBehaviorTemplate__TITLE_TYPE NPCBehaviorTemplate::getMobTitle ( )
inline

◆ getNAggressiveFactor()

int NPCBehaviorTemplate::getNAggressiveFactor ( )
inline

◆ getNameColor()

Color NPCBehaviorTemplate::getNameColor ( )
inline

◆ getNLevel()

int NPCBehaviorTemplate::getNLevel ( )
inline

◆ getNStartingHealth()

int NPCBehaviorTemplate::getNStartingHealth ( )
inline

◆ getSchoolOfFocus()

std::string NPCBehaviorTemplate::getSchoolOfFocus ( )
inline

◆ getSecondarySchoolOfFocus()

std::string NPCBehaviorTemplate::getSecondarySchoolOfFocus ( )
inline

◆ getTriggerList()

std::string NPCBehaviorTemplate::getTriggerList ( )
inline

◆ getTurnTowardsPlayer()

bool NPCBehaviorTemplate::getTurnTowardsPlayer ( )
inline

◆ setBaseEffects()

void NPCBehaviorTemplate::setBaseEffects ( List< SharedPointer< GameEffectInfo > > * val)
inline

◆ setBossMob()

void NPCBehaviorTemplate::setBossMob ( bool val)
inline

◆ setCylinderScaleValue()

void NPCBehaviorTemplate::setCylinderScaleValue ( float val)
inline

◆ setFIntelligence()

void NPCBehaviorTemplate::setFIntelligence ( float val)
inline

◆ setFSelfishFactor()

void NPCBehaviorTemplate::setFSelfishFactor ( float val)
inline

◆ setHideCurrentHP()

void NPCBehaviorTemplate::setHideCurrentHP ( bool val)
inline

◆ setMaxShadowPips()

void NPCBehaviorTemplate::setMaxShadowPips ( int val)
inline

◆ setMobTitle()

void NPCBehaviorTemplate::setMobTitle ( NPCBehaviorTemplate__TITLE_TYPE val)
inline

◆ setNAggressiveFactor()

void NPCBehaviorTemplate::setNAggressiveFactor ( int val)
inline

◆ setNameColor()

void NPCBehaviorTemplate::setNameColor ( Color val)
inline

◆ setNLevel()

void NPCBehaviorTemplate::setNLevel ( int val)
inline

◆ setNStartingHealth()

void NPCBehaviorTemplate::setNStartingHealth ( int val)
inline

◆ setSchoolOfFocus()

void NPCBehaviorTemplate::setSchoolOfFocus ( std::string val)
inline

◆ setSecondarySchoolOfFocus()

void NPCBehaviorTemplate::setSecondarySchoolOfFocus ( std::string val)
inline

◆ setTriggerList()

void NPCBehaviorTemplate::setTriggerList ( std::string val)
inline

◆ setTurnTowardsPlayer()

void NPCBehaviorTemplate::setTurnTowardsPlayer ( bool val)
inline