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

#include <input.h>

Collaboration diagram for Gekko::GameInput:

Public Member Functions

 GameInput ()
void Init (GameInput *other)
void Init (Frame frame_num, u8 *inp, u32 inp_len)
bool IsEqualTo (u8 *other)
void Clear ()

Public Attributes

Frame frame
std::unique_ptr< u8[]> input
u32 input_len

Static Public Attributes

static const i32 NULL_FRAME = -1

Detailed Description

Definition at line 8 of file input.h.

Constructor & Destructor Documentation

◆ GameInput()

Gekko::GameInput::GameInput ( )

Definition at line 343 of file input.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ Clear()

void Gekko::GameInput::Clear ( )

Definition at line 337 of file input.cpp.

◆ Init() [1/2]

void Gekko::GameInput::Init ( Frame frame_num,
u8 * inp,
u32 inp_len )

Definition at line 315 of file input.cpp.

◆ Init() [2/2]

void Gekko::GameInput::Init ( GameInput * other)

Definition at line 298 of file input.cpp.

Here is the call graph for this function:

◆ IsEqualTo()

bool Gekko::GameInput::IsEqualTo ( u8 * other)

Definition at line 332 of file input.cpp.

Member Data Documentation

◆ frame

Frame Gekko::GameInput::frame

Definition at line 23 of file input.h.

◆ input

std::unique_ptr<u8[]> Gekko::GameInput::input

Definition at line 25 of file input.h.

◆ input_len

u32 Gekko::GameInput::input_len

Definition at line 27 of file input.h.

◆ NULL_FRAME

const i32 Gekko::GameInput::NULL_FRAME = -1
static

Definition at line 21 of file input.h.


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