R-Type  2
Doom but in better
Loading...
Searching...
No Matches
messageInfo Struct Reference

A structure containing information about a game message. More...

#include <GameMessage.hpp>

Collaboration diagram for messageInfo:
Collaboration graph

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.
 

Detailed Description

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.

Field Documentation

◆ asset_id

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.

◆ cli_id

uint32_t messageInfo::cli_id

Id of the player's client.

Definition at line 48 of file GameMessage.hpp.

◆ coords

coord messageInfo::coords

Coordinates associated with the event, such as the position of an entity.

Definition at line 50 of file GameMessage.hpp.

◆ status

uint8_t messageInfo::status

Status of the event (e.g., success or failure).

Definition at line 46 of file GameMessage.hpp.

◆ username

char messageInfo::username[9]

Username of player connecting.

Definition at line 49 of file GameMessage.hpp.


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