25 #ifndef __I6ENGINE_API_COMPONENTCONFIG_H__
26 #define __I6ENGINE_API_COMPONENTCONFIG_H__
33 #include "boost/function.hpp"
40 typedef utils::sharedPtr<Component, Component>
ComPtr;
44 namespace components {
102 template<
class Archive>
104 ar & boost::serialization::base_object<GameMessageStruct>(*this);
133 template<
class Archive>
135 ar & boost::serialization::base_object<GameMessageStruct>(*this);
147 template<
class Archive>
149 ar & boost::serialization::base_object<GameMessageStruct>(*this);
162 template<
class Archive>
164 ar & boost::serialization::base_object<GameMessageStruct>(*this);
166 ar & shatterInterest;
175 std::map<std::string, std::string>
attMap;
178 template<
class Archive>
180 ar & boost::serialization::base_object<GameMessageStruct>(*this);
Indicates, that the Object shattered.
i6e::api::components::Component_Spawnpoint_Update Component_Spawnpoint_Update
reactivates a Spawnpoint
std::map< std::string, std::string > attMap
boost::function< void(ComPtr)> callback
i6e::api::components::Component_CreateCallback_Create Component_CreateCallback_Create
creates a Component on Object with id goid and Component id coid with registered template name tpl an...
Component_CreateCallback_Create * copy()
Copy method returning an exact copy of itself.
void serialize(Archive &ar, const unsigned int)
deletes Component with familyID famID on GameObject with id goid
#define ISIXE_MODULES_API
i6e::api::components::Component_Shatter_Update Component_Shatter_Update
calls shatter method of given object with id of the other object detected during collision ...
Enables or disables ticking of a Component.
i6e::api::components::Component_Create_Create Component_Create_Create
creates a Component on Object with id goid and Component id coid with registered template name tpl an...
Component_Shatter_Update * copy()
Copy method returning an exact copy of itself.
std::map< std::string, std::string > attributeMap
void serialize(Archive &ar, const unsigned int)
void serialize(Archive &ar, const unsigned int)
Creates a new Component and calls callback afterwards.
ShatterInterest
Different flags for collision interest.
ShatterInterest shatterInterest
Component_MoverResync_Update * copy()
Copy method returning an exact copy of itself.
calls shatter method of given object with id of the other object detected during collision ...
Component_Create_Create * copy()
Copy method returning an exact copy of itself.
Mover Component needs to be resynced.
creates a Component on Object with id goid and Component id coid with registered template name tpl an...
void serialize(Archive &ar, const unsigned int)
Component_Create_Delete * copy()
Copy method returning an exact copy of itself.
i6e::api::components::Component_Create_Delete Component_Create_Delete
deletes Component with familyID famID on GameObject with id goid
i6e::api::components::Component_MoverResync_Update Component_MoverResync_Update
used to resynchronize MoverComponents
Component_EnableTicking_Update(const int64_t goid, const int64_t coid, bool at)
used to resynchronize MoverComponents
Component_Spawnpoint_Update * copy()
Copy method returning an exact copy of itself.
creates a Component on Object with id goid and Component id coid with registered template name tpl an...
utils::sharedPtr< Component, Component > ComPtr
Component_EnableTicking_Update * copy()
Copy method returning an exact copy of itself.
enables or disables ticking of a Component
i6e::api::components::Component_EnableTicking_Update Component_EnableTicking_Update
enables or disables ticking of a Component
Reactivates a spawnpoint.
void serialize(Archive &ar, const unsigned int)