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

#include <PlayerStatueBehaviorTemplate.h>

Inheritance diagram for PlayerStatueBehaviorTemplate:
BehaviorTemplate PropertyClass

Public Member Functions

float getGroundOffset ()
 
void setGroundOffset (float val)
 
float getYaw ()
 
void setYaw (float val)
 
bool getShowNametag ()
 
void setShowNametag (bool val)
 
float getScale ()
 
void setScale (float val)
 
float getAlpha ()
 
void setAlpha (float val)
 
float getCycleSec ()
 
void setCycleSec (float val)
 
float getAnimDelaySec ()
 
void setAnimDelaySec (float val)
 
float getAnimChance ()
 
void setAnimChance (float val)
 
List< std::string > getAnimList ()
 
void setAnimList (List< std::string > val)
 
List< SharedPointer< PlayerStatueSettings > > * getSettings ()
 
void setSettings (List< SharedPointer< PlayerStatueSettings > > *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

◆ getAlpha()

float PlayerStatueBehaviorTemplate::getAlpha ( )
inline

◆ getAnimChance()

float PlayerStatueBehaviorTemplate::getAnimChance ( )
inline

◆ getAnimDelaySec()

float PlayerStatueBehaviorTemplate::getAnimDelaySec ( )
inline

◆ getAnimList()

List< std::string > PlayerStatueBehaviorTemplate::getAnimList ( )
inline

◆ getCycleSec()

float PlayerStatueBehaviorTemplate::getCycleSec ( )
inline

◆ getGroundOffset()

float PlayerStatueBehaviorTemplate::getGroundOffset ( )
inline

◆ getScale()

float PlayerStatueBehaviorTemplate::getScale ( )
inline

◆ getSettings()

List< SharedPointer< PlayerStatueSettings > > * PlayerStatueBehaviorTemplate::getSettings ( )
inline

◆ getShowNametag()

bool PlayerStatueBehaviorTemplate::getShowNametag ( )
inline

◆ getYaw()

float PlayerStatueBehaviorTemplate::getYaw ( )
inline

◆ setAlpha()

void PlayerStatueBehaviorTemplate::setAlpha ( float val)
inline

◆ setAnimChance()

void PlayerStatueBehaviorTemplate::setAnimChance ( float val)
inline

◆ setAnimDelaySec()

void PlayerStatueBehaviorTemplate::setAnimDelaySec ( float val)
inline

◆ setAnimList()

void PlayerStatueBehaviorTemplate::setAnimList ( List< std::string > val)
inline

◆ setCycleSec()

void PlayerStatueBehaviorTemplate::setCycleSec ( float val)
inline

◆ setGroundOffset()

void PlayerStatueBehaviorTemplate::setGroundOffset ( float val)
inline

◆ setScale()

void PlayerStatueBehaviorTemplate::setScale ( float val)
inline

◆ setSettings()

void PlayerStatueBehaviorTemplate::setSettings ( List< SharedPointer< PlayerStatueSettings > > * val)
inline

◆ setShowNametag()

void PlayerStatueBehaviorTemplate::setShowNametag ( bool val)
inline

◆ setYaw()

void PlayerStatueBehaviorTemplate::setYaw ( float val)
inline