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::EntitySnapshotPayload Struct Reference

Entity state snapshot data. More...

#include <Packet.hpp>

Collaboration diagram for rtp::net::EntitySnapshotPayload:

Public Attributes

uint32_t netId
 Network entity identifier.
 
Vec2f position
 Entity position.
 
Vec2f velocity
 Entity velocity.
 
float rotation
 Entity rotation.
 

Detailed Description

Entity state snapshot data.

Definition at line 337 of file Packet.hpp.

Member Data Documentation

◆ netId

uint32_t rtp::net::EntitySnapshotPayload::netId

Network entity identifier.

Definition at line 338 of file Packet.hpp.

◆ position

Vec2f rtp::net::EntitySnapshotPayload::position

Entity position.

Definition at line 339 of file Packet.hpp.

◆ rotation

float rtp::net::EntitySnapshotPayload::rotation

Entity rotation.

Definition at line 341 of file Packet.hpp.

◆ velocity

Vec2f rtp::net::EntitySnapshotPayload::velocity

Entity velocity.

Definition at line 340 of file Packet.hpp.


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