![]() |
R-Type
2
Doom but in better
|
A structure representing a game message. More...
#include <GameMessage.hpp>
Data Fields | |
messageType | type |
The type of message (e.g., SPAWN, MOVE, etc.). | |
std::size_t | id |
The unique identifier for the entity or object involved in the event. | |
messageInfo | msg |
Additional information about the event (status, asset ID, and coordinates). | |
A structure representing a game message.
The GameMessage
structure encapsulates a message in the game. It consists of a message type, a unique ID, and associated information about the event (e.g., status, asset ID, and coordinates).
Definition at line 59 of file GameMessage.hpp.
std::size_t GameMessage::id |
The unique identifier for the entity or object involved in the event.
Definition at line 61 of file GameMessage.hpp.
messageInfo GameMessage::msg |
Additional information about the event (status, asset ID, and coordinates).
Definition at line 62 of file GameMessage.hpp.
messageType GameMessage::type |
The type of message (e.g., SPAWN, MOVE, etc.).
Definition at line 60 of file GameMessage.hpp.