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


Public Attributes | |
| PlayerNumber | playerNumber = INVALID_PLAYER |
| std::array< std::uint8_t, sizeof(Frame)> | currentFrame {} |
| std::array< std::uint8_t, maxInputNmb > | inputs {} |
Public Attributes inherited from game::Packet | |
| PacketType | packetType = PacketType::NONE |
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.