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

PlayerInputPacket is a UDP Packet sent by the player client and then replicated by the server to all clients to share the currentFrame and all the previous ones player inputs. More...

#include <packet_type.h>

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

Public Attributes

PlayerNumber playerNumber = INVALID_PLAYER
 
std::array< std::uint8_t, sizeof(Frame)> currentFrame {}
 
std::array< std::uint8_t, maxInputNmbinputs {}
 
- Public Attributes inherited from game::Packet
PacketType packetType = PacketType::NONE
 

Detailed Description

PlayerInputPacket is a UDP Packet sent by the player client and then replicated by the server to all clients to share the currentFrame and all the previous ones player inputs.


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