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

#include <event.h>

Collaboration diagram for Gekko::GameEventBuffer:

Public Member Functions

void Init (u32 input_size)
GekkoGameEvent * GetEvent (bool advance)
void Reset ()

Private Attributes

u32 _input_size = 0
u16 _index_others = 0
u16 _index_advance = 0
std::vector< std::unique_ptr< GekkoGameEvent > > _buffer_advance
std::vector< std::unique_ptr< GekkoGameEvent > > _buffer_others
std::vector< std::unique_ptr< u8[]> > _input_memory_buffer

Detailed Description

Definition at line 12 of file event.h.

Member Function Documentation

◆ GetEvent()

GekkoGameEvent * Gekko::GameEventBuffer::GetEvent ( bool advance)

Definition at line 38 of file event.cpp.

◆ Init()

void Gekko::GameEventBuffer::Init ( u32 input_size)

Definition at line 7 of file event.cpp.

◆ Reset()

void Gekko::GameEventBuffer::Reset ( )

Definition at line 14 of file event.cpp.

Member Data Documentation

◆ _buffer_advance

std::vector<std::unique_ptr<GekkoGameEvent> > Gekko::GameEventBuffer::_buffer_advance
private

Definition at line 27 of file event.h.

◆ _buffer_others

std::vector<std::unique_ptr<GekkoGameEvent> > Gekko::GameEventBuffer::_buffer_others
private

Definition at line 29 of file event.h.

◆ _index_advance

u16 Gekko::GameEventBuffer::_index_advance = 0
private

Definition at line 25 of file event.h.

◆ _index_others

u16 Gekko::GameEventBuffer::_index_others = 0
private

Definition at line 23 of file event.h.

◆ _input_memory_buffer

std::vector<std::unique_ptr<u8[]> > Gekko::GameEventBuffer::_input_memory_buffer
private

Definition at line 31 of file event.h.

◆ _input_size

u32 Gekko::GameEventBuffer::_input_size = 0
private

Definition at line 21 of file event.h.


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