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

Input command pending server acknowledgment. More...

+ Collaboration diagram for gme::GameMulti::PendingInput:

Public Attributes

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

Detailed Description

Input command pending server acknowledgment.

Used for client-side prediction and reconciliation

Definition at line 205 of file GameMulti.hpp.

Member Data Documentation

◆ dt

float gme::GameMulti::PendingInput::dt

Delta time when input was sent.

Definition at line 209 of file GameMulti.hpp.

◆ inputData

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

Serialized input data.

Definition at line 208 of file GameMulti.hpp.

◆ seqId

uint32_t gme::GameMulti::PendingInput::seqId

Sequence ID of input.

Definition at line 207 of file GameMulti.hpp.


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