![]() |
R-Type
2
Doom but in better
|
A structure containing information about a game message. More...
#include <GameMessage.hpp>
Data Fields | |
uint8_t | status |
Status of the event (e.g., success or failure). | |
int | asset_id |
ID representing the game asset related to the event (e.g., entity or object). | |
uint32_t | cli_id |
Id of the player's client. | |
char | username [9] |
Username of player connecting. | |
coord | coords |
Coordinates associated with the event, such as the position of an entity. | |
A structure containing information about a game message.
The messageInfo
structure holds additional data related to the message, such as status, asset ID, and coordinates. This information is used to describe the context of a specific event in the game.
Definition at line 45 of file GameMessage.hpp.
int messageInfo::asset_id |
ID representing the game asset related to the event (e.g., entity or object).
Definition at line 47 of file GameMessage.hpp.
uint32_t messageInfo::cli_id |
Id of the player's client.
Definition at line 48 of file GameMessage.hpp.
coord messageInfo::coords |
Coordinates associated with the event, such as the position of an entity.
Definition at line 50 of file GameMessage.hpp.
uint8_t messageInfo::status |
Status of the event (e.g., success or failure).
Definition at line 46 of file GameMessage.hpp.
char messageInfo::username[9] |
Username of player connecting.
Definition at line 49 of file GameMessage.hpp.