Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
rtp::net::RoomSnapshotPayload Struct Reference

#include <Packet.hpp>

Collaboration diagram for rtp::net::RoomSnapshotPayload:

Public Attributes

uint32_t roomId
 Room identifier.
 
uint32_t currentPlayers
 Current number of players.
 
uint32_t serverTick
 Network entity identifier.
 
uint16_t entityCount
 Entity position.
 
uint8_t inGame
 Is the game in progress.
 

Detailed Description

Definition at line 292 of file Packet.hpp.

Member Data Documentation

◆ currentPlayers

uint32_t rtp::net::RoomSnapshotPayload::currentPlayers

Current number of players.

Definition at line 294 of file Packet.hpp.

◆ entityCount

uint16_t rtp::net::RoomSnapshotPayload::entityCount

Entity position.

Definition at line 296 of file Packet.hpp.

◆ inGame

uint8_t rtp::net::RoomSnapshotPayload::inGame

Is the game in progress.

Definition at line 297 of file Packet.hpp.

◆ roomId

uint32_t rtp::net::RoomSnapshotPayload::roomId

Room identifier.

Definition at line 293 of file Packet.hpp.

◆ serverTick

uint32_t rtp::net::RoomSnapshotPayload::serverTick

Network entity identifier.

Definition at line 295 of file Packet.hpp.


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