MXVK Vulkan Framework 0.24.0
C++20 Vulkan rendering framework for practical 2D and 3D application development with SDL3.
Loading...
Searching...
No Matches
space::NetworkPlayerUpdate Struct Reference

State received for a specific player slot. More...

#include <examples/asteroids-net/multiplayer.hpp>

Public Attributes

std::uint8_t player_id = 0
 Player slot owning the state.
NetworkState state {}
 Most recently received state.

Detailed Description

State received for a specific player slot.

Definition at line 75 of file multiplayer.hpp.

Member Data Documentation

◆ player_id

std::uint8_t space::NetworkPlayerUpdate::player_id = 0

Player slot owning the state.

Definition at line 76 of file multiplayer.hpp.

◆ state

NetworkState space::NetworkPlayerUpdate::state {}

Most recently received state.

Definition at line 77 of file multiplayer.hpp.

77{}; ///< Most recently received state.

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