GPR5100 - Rollback
Loading...
Searching...
No Matches
Public Attributes | List of all members
game::SpawnPlayerPacket Struct Reference

SpawnPlayerPacket is a TCP Packet sent by the server to all clients to notify of the spawn of a new player. More...

#include <packet_type.h>

Inheritance diagram for game::SpawnPlayerPacket:
Inheritance graph
[legend]
Collaboration diagram for game::SpawnPlayerPacket:
Collaboration graph
[legend]

Public Attributes

std::array< std::uint8_t, sizeof(ClientId)> clientId {}
 
PlayerNumber playerNumber = INVALID_PLAYER
 
std::array< std::uint8_t, sizeof(core::Vec2f)> pos {}
 
std::array< std::uint8_t, sizeof(core::Degree)> angle {}
 
- Public Attributes inherited from game::Packet
PacketType packetType = PacketType::NONE
 

Detailed Description

SpawnPlayerPacket is a TCP Packet sent by the server to all clients to notify of the spawn of a new player.


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