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

#include <CraftingSlot.h>

Inheritance diagram for CraftingSlot:
CoreObject PropertyClass

Public Member Functions

std::string getRecipeName ()
 
void setRecipeName (std::string val)
 
int getTimeFinished ()
 
void setTimeFinished (int val)
 
- Public Member Functions inherited from CoreObject
template<class T >
T * findChild (const std::string &name)
 Find a child CoreObject by name and cast it to the specified type.
 
template<class T >
T * findDescendant (const std::string &name)
 Find a descendant CoreObject by name and cast it to the specified type.
 
CoreObjectgetRoot ()
 
std::vector< std::shared_ptr< CoreObject > > getChildren ()
 
- 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 CoreObject
uint64_t globalID
 
uint64_t permID
 
WizGameObjectTemplatem_template
 
uint64_t templateID
 
std::string debugName
 
std::string displayKey
 
Vector3D location
 
Vector3D orentiation
 
short speedMultiplier
 
unsigned short mobileID
 
float scale
 
void * unk1
 
CoreObjectparent
 
SharedObjectDeleter< CoreObject * > * deleter
 
std::vector< std::shared_ptr< BehaviorInstance > > inactiveBehaviors
 
std::vector< std::shared_ptr< BehaviorInstance > > activeBehaviors
 
void * unk2
 
void * unk3
 
void * unk4
 
void * unk5
 
void * zoneData
 
void * unk6
 
void * unk7
 
void * unk8
 
void * unk9
 
uint32_t zoneTagID
 
uint32_t pad
 
void * unk10
 
void * unk11
 
void * unk12
 
void * unk13
 
std::vector< std::shared_ptr< CoreObject > > children
 

Member Function Documentation

◆ getRecipeName()

std::string CraftingSlot::getRecipeName ( )
inline

◆ getTimeFinished()

int CraftingSlot::getTimeFinished ( )
inline

◆ setRecipeName()

void CraftingSlot::setRecipeName ( std::string val)
inline

◆ setTimeFinished()

void CraftingSlot::setTimeFinished ( int val)
inline