GekkoNet 1.0
C/C++ Peer to Peer Game Networking SDK
Loading...
Searching...
No Matches
Gekko::InputCache Struct Reference

#include <backend.h>

Collaboration diagram for Gekko::InputCache:

Public Member Functions

bool IsValid (Frame current_ack, Frame current_last_input) const

Public Attributes

Frame last_acked_frame = -1
Frame last_input_frame = -1
std::vector< InputMsg > packets

Detailed Description

Definition at line 26 of file backend.h.

Member Function Documentation

◆ IsValid()

bool Gekko::InputCache::IsValid ( Frame current_ack,
Frame current_last_input ) const

Definition at line 41 of file backend.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ last_acked_frame

Frame Gekko::InputCache::last_acked_frame = -1

Definition at line 27 of file backend.h.

◆ last_input_frame

Frame Gekko::InputCache::last_input_frame = -1

Definition at line 28 of file backend.h.

◆ packets

std::vector<InputMsg> Gekko::InputCache::packets

Definition at line 29 of file backend.h.


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