r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
gme::PlayerControllerMulti::PendingInput Struct Reference

Represents an input command awaiting server acknowledgment. More...

+ Collaboration diagram for gme::PlayerControllerMulti::PendingInput:

Public Attributes

uint32_t seqId
 Sequence number of this input.
 
std::vector< uint8_t > inputData
 Serialized input data.
 
float dt
 Delta time when input was sent.
 

Detailed Description

Represents an input command awaiting server acknowledgment.

Used for client-side prediction and reconciliation

Definition at line 148 of file PlayerControllerMulti.hpp.

Member Data Documentation

◆ dt

float gme::PlayerControllerMulti::PendingInput::dt

Delta time when input was sent.

Definition at line 152 of file PlayerControllerMulti.hpp.

◆ inputData

std::vector<uint8_t> gme::PlayerControllerMulti::PendingInput::inputData

Serialized input data.

Definition at line 151 of file PlayerControllerMulti.hpp.

◆ seqId

uint32_t gme::PlayerControllerMulti::PendingInput::seqId

Sequence number of this input.

Definition at line 150 of file PlayerControllerMulti.hpp.


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