i6engine  1.0
i6e::api::objects::Object_CreateAndCall_Create Struct Reference

struct for creation of a GameObject and calling a callback with it never send through network More...

#include <D:/Projekte/i6engine/libs/i6engine-modules/include/i6engine/api/configs/ObjectConfig.h>

Public Member Functions

 Object_CreateAndCall_Create ()
 
 Object_CreateAndCall_Create (const int64_t i, const std::string &t, const core::IPKey &own, uint64_t u, const GOTemplate &g, const bool b, const boost::function< void(const GOPtr &)> &f)
 
Object_CreateAndCall_Createcopy ()
 Copy method returning an exact copy of itself. More...
 
- Public Member Functions inherited from i6e::core::MessageStruct
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
 MessageStruct ()
 Default constructor for MessageStruct. More...
 
 MessageStruct (const MessageStruct &other)
 Copy constructor for MessageStruct. More...
 
 MessageStruct (const int64_t id, const IPKey &send, const int64_t waitID)
 Constructor for MessageStruct. More...
 
 MessageStruct (int64_t id, int64_t waitID)
 
virtual ~MessageStruct ()
 Virtual destructor. More...
 
int64_t getID () const
 returns the id More...
 
int64_t getWaitID () const
 returns the waitForId More...
 

Public Attributes

std::string tpl
 
core::IPKey owner
 
uint64_t uuid
 
GOTemplate tmpl
 
bool send
 
boost::function< void(const GOPtr &)> func
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

struct for creation of a GameObject and calling a callback with it never send through network

Definition at line 213 of file ObjectConfig.h.

Constructor & Destructor Documentation

i6e::api::objects::Object_CreateAndCall_Create::Object_CreateAndCall_Create ( )
i6e::api::objects::Object_CreateAndCall_Create::Object_CreateAndCall_Create ( const int64_t  i,
const std::string &  t,
const core::IPKey own,
uint64_t  u,
const GOTemplate g,
const bool  b,
const boost::function< void(const GOPtr &)> &  f 
)

Member Function Documentation

Object_CreateAndCall_Create* i6e::api::objects::Object_CreateAndCall_Create::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 222 of file ObjectConfig.h.

Member Data Documentation

boost::function<void(const GOPtr &)> i6e::api::objects::Object_CreateAndCall_Create::func

Definition at line 219 of file ObjectConfig.h.

core::IPKey i6e::api::objects::Object_CreateAndCall_Create::owner

Definition at line 215 of file ObjectConfig.h.

bool i6e::api::objects::Object_CreateAndCall_Create::send

Definition at line 218 of file ObjectConfig.h.

GOTemplate i6e::api::objects::Object_CreateAndCall_Create::tmpl

Definition at line 217 of file ObjectConfig.h.

std::string i6e::api::objects::Object_CreateAndCall_Create::tpl

Definition at line 214 of file ObjectConfig.h.

uint64_t i6e::api::objects::Object_CreateAndCall_Create::uuid

Definition at line 216 of file ObjectConfig.h.


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