|
GPR5100 - Rollback
|
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>


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 |
SpawnPlayerPacket is a TCP Packet sent by the server to all clients to notify of the spawn of a new player.