CSEngine
|
Public Member Functions | |
RESOURCE_DEFINE_CONSTRUCTOR (SScriptObject) | |
void | Exterminate () override |
std::vector< std::string > | GetVariables () const |
std::string | GetScriptClassName () const |
void | SetValue (std::string name_str, Arguments value) override |
std::string | PrintValue () const override |
![]() | |
SResource (std::string classType) | |
SResource (const SResource *resource, bool isRegister) | |
void | SetName (std::string name) |
void | SetAbsoluteID (std::string id) |
std::string | GetName () const |
std::string | GetAbsoluteID () const |
AssetMgr::AssetReference * | GetAssetReference (std::string hash="") const |
void | LinkResource (AssetMgr::AssetReference *asset) |
void | LinkResource (std::string name) |
void | SetHash (std::string &hash) override |
![]() | |
SObject (bool isRegister) | |
virtual void | SetUndestroyable (bool enable) |
virtual void | Destroy () |
std::string | GetHash () const |
![]() | |
![]() | |
ReflectionObject (std::string type) | |
void | SetClassType (std::string type) |
const char * | GetClassType () const |
bool | IsSameClass (const char *classType) const |
Protected Member Functions | |
void | Init (const AssetMgr::AssetReference *asset) override |
![]() | |
![]() |
Additional Inherited Members | |
![]() | |
template<class T > | |
static T * | Create (const std::string &name) |
static SResource * | Create (const std::string &name, const std::string &classType) |
template<class T > | |
static T * | Create (const AssetMgr::AssetReference *asset) |
static SResource * | Create (const AssetMgr::AssetReference *asset, const std::string &classType) |
template<class T > | |
static T * | Get (std::string name) |
static SResource * | Get (std::string &name) |
![]() | |
static ReflectionObject * | NewObject (const std::string &name) |
![]() | |
typedef std::vector< std::string > | Arguments |
![]() | |
std::string | m_hash |
![]() | |
std::string | m_class |
Definition at line 12 of file SScriptObject.h.
|
overridevirtual |
|
inline |
Definition at line 21 of file SScriptObject.h.
std::vector< std::string > SScriptObject::GetVariables | ( | ) | const |
Definition at line 137 of file SScriptObject.cpp.
|
overrideprotectedvirtual |
Implements CSE::SResource.
Definition at line 25 of file SScriptObject.cpp.
|
overridevirtual |
Implements CSE::VariableBinder.
Definition at line 144 of file SScriptObject.cpp.
|
overridevirtual |
Used to get serialized values. All classes that inherit from VariableBinder will unconditionally call this function first during initialization.
name_str | Name of values |
value | Serialized values |
Implements CSE::VariableBinder.
Definition at line 141 of file SScriptObject.cpp.