i6engine  1.0
i6e::api::graphics::Graphics_LoadResources_Create Struct Reference

preload resources of a level More...

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

Public Member Functions

 Graphics_LoadResources_Create (const std::string &rf, const std::function< void(uint16_t)> &cb, const GameMessage::Ptr &m)
 
Graphics_LoadResources_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 resourcesFile
 
std::function< void(uint16_t)> callback
 
GameMessage::Ptr msg
 
- Public Attributes inherited from i6e::core::MessageStruct
int64_t _id
 
IPKey _sender
 
int64_t _waitForId
 

Detailed Description

preload resources of a level

Definition at line 872 of file GraphicsConfig.h.

Constructor & Destructor Documentation

i6e::api::graphics::Graphics_LoadResources_Create::Graphics_LoadResources_Create ( const std::string &  rf,
const std::function< void(uint16_t)> &  cb,
const GameMessage::Ptr m 
)
inline

Definition at line 876 of file GraphicsConfig.h.

Member Function Documentation

Graphics_LoadResources_Create* i6e::api::graphics::Graphics_LoadResources_Create::copy ( )
inlinevirtual

Copy method returning an exact copy of itself.

Returns
Copy of itself.

Reimplemented from i6e::core::MessageStruct.

Definition at line 878 of file GraphicsConfig.h.

Member Data Documentation

std::function<void(uint16_t)> i6e::api::graphics::Graphics_LoadResources_Create::callback

Definition at line 874 of file GraphicsConfig.h.

GameMessage::Ptr i6e::api::graphics::Graphics_LoadResources_Create::msg

Definition at line 875 of file GraphicsConfig.h.

std::string i6e::api::graphics::Graphics_LoadResources_Create::resourcesFile

Definition at line 873 of file GraphicsConfig.h.


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