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

#include <RidableBehaviorTemplate.h>

Inheritance diagram for RidableBehaviorTemplate:
BehaviorTemplate PropertyClass

Public Member Functions

std::string getIcon ()
 
void setIcon (std::string val)
 
std::string getTitle ()
 
void setTitle (std::string val)
 
std::string getPromptText ()
 
void setPromptText (std::string val)
 
int getNumberOfSlots ()
 
void setNumberOfSlots (int val)
 
int getRideType ()
 
void setRideType (int val)
 
List< std::string > getRiderKFM ()
 
void setRiderKFM (List< std::string > val)
 
float getRideDuration ()
 
void setRideDuration (float val)
 
float getZOffset ()
 
void setZOffset (float val)
 
NewRideTypes getNewRideType ()
 
void setNewRideType (NewRideTypes 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

◆ getIcon()

std::string RidableBehaviorTemplate::getIcon ( )
inline

◆ getNewRideType()

NewRideTypes RidableBehaviorTemplate::getNewRideType ( )
inline

◆ getNumberOfSlots()

int RidableBehaviorTemplate::getNumberOfSlots ( )
inline

◆ getPromptText()

std::string RidableBehaviorTemplate::getPromptText ( )
inline

◆ getRideDuration()

float RidableBehaviorTemplate::getRideDuration ( )
inline

◆ getRiderKFM()

List< std::string > RidableBehaviorTemplate::getRiderKFM ( )
inline

◆ getRideType()

int RidableBehaviorTemplate::getRideType ( )
inline

◆ getTitle()

std::string RidableBehaviorTemplate::getTitle ( )
inline

◆ getZOffset()

float RidableBehaviorTemplate::getZOffset ( )
inline

◆ setIcon()

void RidableBehaviorTemplate::setIcon ( std::string val)
inline

◆ setNewRideType()

void RidableBehaviorTemplate::setNewRideType ( NewRideTypes val)
inline

◆ setNumberOfSlots()

void RidableBehaviorTemplate::setNumberOfSlots ( int val)
inline

◆ setPromptText()

void RidableBehaviorTemplate::setPromptText ( std::string val)
inline

◆ setRideDuration()

void RidableBehaviorTemplate::setRideDuration ( float val)
inline

◆ setRiderKFM()

void RidableBehaviorTemplate::setRiderKFM ( List< std::string > val)
inline

◆ setRideType()

void RidableBehaviorTemplate::setRideType ( int val)
inline

◆ setTitle()

void RidableBehaviorTemplate::setTitle ( std::string val)
inline

◆ setZOffset()

void RidableBehaviorTemplate::setZOffset ( float val)
inline