Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CFrameSourceProperty Class Reference
Inheritance diagram for Skylicht::CFrameSourceProperty:
Skylicht::CGUIDResourceProperty Skylicht::CValuePropertyTemplate< std::string > Skylicht::CValueProperty

Public Member Functions

 CFrameSourceProperty (CObjectSerializable *owner, const char *name)
 CFrameSourceProperty (CObjectSerializable *owner, const char *name, const char *value)
virtual CValuePropertyclone ()
virtual void serialize (io::IAttributes *io)
virtual void deserialize (io::IAttributes *io)
void setSprite (const char *sprite)
const char * getSprite ()
void setSpriteId (const char *id)
const char * getSpriteId ()
Public Member Functions inherited from Skylicht::CGUIDResourceProperty
 CGUIDResourceProperty (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
const char * getString ()
const char * cstr ()
void setGUID (const char *guid)
const char * getGUID ()
Public Member Functions inherited from Skylicht::CValuePropertyTemplate< std::string >
 CValuePropertyTemplate (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void set (const std::string &v)
const std::string & get () const
std::string & operator* ()
Public Member Functions inherited from Skylicht::CValueProperty
 CValueProperty (CObjectSerializable *owner, EPropertyDataType dataType, const char *name)
void setOwner (CObjectSerializable *owner)
EPropertyDataType getType ()
EPropertyObjectType getObjectType ()
void setUIHeader (const char *header)
const std::string & getUIHeader ()
void setUISpace (float space)
float getUISpace ()
void setHidden (bool b)
bool isHidden ()

Protected Attributes

std::string m_sprite
std::string m_spriteId
Protected Attributes inherited from Skylicht::CGUIDResourceProperty
std::string m_guid
Protected Attributes inherited from Skylicht::CValuePropertyTemplate< std::string >
std::string m_value
Protected Attributes inherited from Skylicht::CValueProperty
EPropertyDataType m_dataType
EPropertyObjectType m_objectType
CObjectSerializablem_owner
std::string m_uiHeader
float m_uiSpace
bool m_hidden

Additional Inherited Members

Public Attributes inherited from Skylicht::CValueProperty
std::function< void(bool)> OnSetHidden
std::function< void()> OnChanged
std::string Name
std::vector< std::string > OtherName

Member Function Documentation

◆ clone()

virtual CValueProperty * Skylicht::CFrameSourceProperty::clone ( )
inlinevirtual

◆ deserialize()

virtual void Skylicht::CFrameSourceProperty::deserialize ( io::IAttributes * io)
inlinevirtual

Reimplemented from Skylicht::CGUIDResourceProperty.

◆ serialize()

virtual void Skylicht::CFrameSourceProperty::serialize ( io::IAttributes * io)
inlinevirtual

Reimplemented from Skylicht::CGUIDResourceProperty.


The documentation for this class was generated from the following file: