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

Player health update data. More...

#include <Packet.hpp>

Collaboration diagram for rtp::net::HealthUpdatePayload:

Public Attributes

int32_t current
 Current health.
 
int32_t max
 Max health.
 

Detailed Description

Player health update data.

Definition at line 415 of file Packet.hpp.

Member Data Documentation

◆ current

int32_t rtp::net::HealthUpdatePayload::current

Current health.

Definition at line 416 of file Packet.hpp.

Referenced by rtp::client::NetworkSyncSystem::handleEvent().

◆ max

int32_t rtp::net::HealthUpdatePayload::max

Max health.

Definition at line 417 of file Packet.hpp.


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