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

#include <FurnitureInfoBehaviorTemplate.h>

Inheritance diagram for FurnitureInfoBehaviorTemplate:
BehaviorTemplate PropertyClass

Public Member Functions

float getYaw ()
 
void setYaw (float val)
 
float getPitch ()
 
void setPitch (float val)
 
float getRoll ()
 
void setRoll (float val)
 
bool getRotate ()
 
void setRotate (bool val)
 
bool getBounce ()
 
void setBounce (bool val)
 
int getTextureIndex ()
 
void setTextureIndex (int val)
 
std::string getTextureFilename ()
 
void setTextureFilename (std::string val)
 
float getCameraOffsetX ()
 
void setCameraOffsetX (float val)
 
float getCameraOffsetY ()
 
void setCameraOffsetY (float val)
 
float getCameraOffsetZ ()
 
void setCameraOffsetZ (float 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

◆ getBounce()

bool FurnitureInfoBehaviorTemplate::getBounce ( )
inline

◆ getCameraOffsetX()

float FurnitureInfoBehaviorTemplate::getCameraOffsetX ( )
inline

◆ getCameraOffsetY()

float FurnitureInfoBehaviorTemplate::getCameraOffsetY ( )
inline

◆ getCameraOffsetZ()

float FurnitureInfoBehaviorTemplate::getCameraOffsetZ ( )
inline

◆ getPitch()

float FurnitureInfoBehaviorTemplate::getPitch ( )
inline

◆ getRoll()

float FurnitureInfoBehaviorTemplate::getRoll ( )
inline

◆ getRotate()

bool FurnitureInfoBehaviorTemplate::getRotate ( )
inline

◆ getTextureFilename()

std::string FurnitureInfoBehaviorTemplate::getTextureFilename ( )
inline

◆ getTextureIndex()

int FurnitureInfoBehaviorTemplate::getTextureIndex ( )
inline

◆ getYaw()

float FurnitureInfoBehaviorTemplate::getYaw ( )
inline

◆ setBounce()

void FurnitureInfoBehaviorTemplate::setBounce ( bool val)
inline

◆ setCameraOffsetX()

void FurnitureInfoBehaviorTemplate::setCameraOffsetX ( float val)
inline

◆ setCameraOffsetY()

void FurnitureInfoBehaviorTemplate::setCameraOffsetY ( float val)
inline

◆ setCameraOffsetZ()

void FurnitureInfoBehaviorTemplate::setCameraOffsetZ ( float val)
inline

◆ setPitch()

void FurnitureInfoBehaviorTemplate::setPitch ( float val)
inline

◆ setRoll()

void FurnitureInfoBehaviorTemplate::setRoll ( float val)
inline

◆ setRotate()

void FurnitureInfoBehaviorTemplate::setRotate ( bool val)
inline

◆ setTextureFilename()

void FurnitureInfoBehaviorTemplate::setTextureFilename ( std::string val)
inline

◆ setTextureIndex()

void FurnitureInfoBehaviorTemplate::setTextureIndex ( int val)
inline

◆ setYaw()

void FurnitureInfoBehaviorTemplate::setYaw ( float val)
inline