CSEngine
|
Public Member Functions | |
COMPONENT_DEFINE_CONSTRUCTOR (CustomComponent) | |
void | Exterminate () override |
void | Init () override |
void | Tick (float elapsedTime) override |
SComponent * | Clone (SGameObject *object) override |
void | SetClassName (std::string name) |
std::string | SGetClassName () const |
bool | GetIsEnable () const override |
void | SetIsEnable (bool is_enable) override |
void | Log (const char *log) |
void | SetValue (std::string name_str, Arguments value) override |
std::string | PrintValue () const override |
SGameObject * | GetGameObject () const override |
Sqrat::Object | GetClassInstance () const |
Public Member Functions inherited from CSE::SComponent | |
SComponent (std::string classType, SGameObject *gameObject) | |
SComponent (const SComponent &src) | |
void | Start () override |
virtual void | CopyReference (SComponent *src, std::map< SGameObject *, SGameObject * > lists_obj, std::map< SComponent *, SComponent * > lists_comp) |
virtual auto | GetComponent () -> SObject * |
void | SetValue (std::string name_str, Arguments value) override |
std::string | PrintValue () const override |
void | SetGameObject (SGameObject *object) |
std::string | GetClassType () const |
void | SetClassType (std::string type) |
Public Member Functions inherited from CSE::SObject | |
SObject (bool isRegister) | |
virtual void | SetUndestroyable (bool enable) |
virtual void | Destroy () |
virtual void | __FORCE_DESTROY__ () |
virtual std::string | GenerateMeta () |
std::string | GetHash () const |
virtual void | SetHash (std::string &hash) |
Public Member Functions inherited from CSE::SISComponent | |
SISComponent (const SISComponent &src)=default | |
Additional Inherited Members | |
Protected Types inherited from CSE::VariableBinder | |
typedef std::vector< std::string > | Arguments |
Protected Attributes inherited from CSE::SComponent | |
SGameObject * | gameObject = nullptr |
bool | isEnable = true |
std::string | m_classType |
Protected Attributes inherited from CSE::SObject | |
std::string | m_hash |
Definition at line 11 of file CustomComponent.h.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 132 of file CustomComponent.cpp.
|
overridevirtual |
Implements CSE::SObject.
Definition at line 20 of file CustomComponent.cpp.
|
inline |
Definition at line 58 of file CustomComponent.h.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 128 of file CustomComponent.cpp.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 113 of file CustomComponent.cpp.
|
overridevirtual |
Implements CSE::SISComponent.
Definition at line 26 of file CustomComponent.cpp.
void CustomComponent::Log | ( | const char * | log | ) |
Definition at line 123 of file CustomComponent.cpp.
|
overridevirtual |
Implements CSE::VariableBinder.
Definition at line 158 of file CustomComponent.cpp.
void CustomComponent::SetClassName | ( | std::string | name | ) |
Definition at line 95 of file CustomComponent.cpp.
|
overridevirtual |
Reimplemented from CSE::SComponent.
Definition at line 118 of file CustomComponent.cpp.
|
overridevirtual |
Implements CSE::VariableBinder.
Definition at line 142 of file CustomComponent.cpp.
std::string CustomComponent::SGetClassName | ( | ) | const |
Definition at line 108 of file CustomComponent.cpp.
|
overridevirtual |
Implements CSE::SISComponent.
Definition at line 46 of file CustomComponent.cpp.