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

loads a level More...

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

Public Member Functions

 Object_Level_Create ()
 
 Object_Level_Create (const std::string &fi, const std::string &fl, const std::function< void(uint16_t)> &cb, const std::function< void(void)> &fu)
 
template<class Archive >
void serialize (Archive &ar, const unsigned int)
 
Object_Level_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 file
 
std::string flags
 
std::function< void(uint16_t)> callback
 
std::function< void(void)> func
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

loads a level

Definition at line 155 of file ObjectConfig.h.

Constructor & Destructor Documentation

i6e::api::objects::Object_Level_Create::Object_Level_Create ( )
i6e::api::objects::Object_Level_Create::Object_Level_Create ( const std::string &  fi,
const std::string &  fl,
const std::function< void(uint16_t)> &  cb,
const std::function< void(void)> &  fu 
)

Member Function Documentation

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

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 168 of file ObjectConfig.h.

template<class Archive >
void i6e::api::objects::Object_Level_Create::serialize ( Archive &  ar,
const unsigned  int 
)
inline

Definition at line 163 of file ObjectConfig.h.

Member Data Documentation

std::function<void(uint16_t)> i6e::api::objects::Object_Level_Create::callback

Definition at line 158 of file ObjectConfig.h.

std::string i6e::api::objects::Object_Level_Create::file

Definition at line 156 of file ObjectConfig.h.

std::string i6e::api::objects::Object_Level_Create::flags

Definition at line 157 of file ObjectConfig.h.

std::function<void(void)> i6e::api::objects::Object_Level_Create::func

Definition at line 159 of file ObjectConfig.h.


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