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

#include <MadlibIconData.h>

Inheritance diagram for MadlibIconData:
PropertyClass

Public Member Functions

std::string getToken ()
 
void setToken (std::string val)
 
std::wstring getIcon ()
 
void setIcon (std::wstring val)
 
std::wstring getText ()
 
void setText (std::wstring val)
 
std::wstring getTooltip ()
 
void setTooltip (std::wstring val)
 
std::wstring getColor ()
 
void setColor (std::wstring val)
 
bool getColorOverride ()
 
void setColorOverride (bool val)
 
int getWide ()
 
void setWide (int val)
 
MadlibIconUseCase getUseCase ()
 
void setUseCase (MadlibIconUseCase 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.
 

Member Function Documentation

◆ getColor()

std::wstring MadlibIconData::getColor ( )
inline

◆ getColorOverride()

bool MadlibIconData::getColorOverride ( )
inline

◆ getIcon()

std::wstring MadlibIconData::getIcon ( )
inline

◆ getText()

std::wstring MadlibIconData::getText ( )
inline

◆ getToken()

std::string MadlibIconData::getToken ( )
inline

◆ getTooltip()

std::wstring MadlibIconData::getTooltip ( )
inline

◆ getUseCase()

MadlibIconUseCase MadlibIconData::getUseCase ( )
inline

◆ getWide()

int MadlibIconData::getWide ( )
inline

◆ setColor()

void MadlibIconData::setColor ( std::wstring val)
inline

◆ setColorOverride()

void MadlibIconData::setColorOverride ( bool val)
inline

◆ setIcon()

void MadlibIconData::setIcon ( std::wstring val)
inline

◆ setText()

void MadlibIconData::setText ( std::wstring val)
inline

◆ setToken()

void MadlibIconData::setToken ( std::string val)
inline

◆ setTooltip()

void MadlibIconData::setTooltip ( std::wstring val)
inline

◆ setUseCase()

void MadlibIconData::setUseCase ( MadlibIconUseCase val)
inline

◆ setWide()

void MadlibIconData::setWide ( int val)
inline