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

#include <event.h>

Collaboration diagram for Gekko::SessionEventSystem:

Public Member Functions

void Reset ()
std::vector< GekkoSessionEvent * > & GetRecentEvents ()
void AddPlayerSyncingEvent (Handle handle, u8 sync, u8 max)
void AddPlayerConnectedEvent (Handle handle)
void AddPlayerDisconnectedEvent (Handle handle)
void AddSessionStartedEvent ()
void AddSpectatorPausedEvent ()
void AddSpectatorUnpausedEvent ()
void AddDesyncDetectedEvent (Frame frame, Handle remote, u32 check_local, u32 check_remote)
void AddReplayFinishedEvent ()
void AddReplayDesyncEvent (Frame frame, u32 checksum, u32 recorded_checksum)

Private Member Functions

void AddEvent (GekkoSessionEvent *ev)

Private Attributes

std::vector< GekkoSessionEvent * > _events
SessionEventBuffer _event_buffer

Detailed Description

Definition at line 82 of file event.h.

Member Function Documentation

◆ AddDesyncDetectedEvent()

void Gekko::SessionEventSystem::AddDesyncDetectedEvent ( Frame frame,
Handle remote,
u32 check_local,
u32 check_remote )

Definition at line 157 of file event.cpp.

Here is the call graph for this function:

◆ AddEvent()

void Gekko::SessionEventSystem::AddEvent ( GekkoSessionEvent * ev)
private

Definition at line 100 of file event.cpp.

Here is the caller graph for this function:

◆ AddPlayerConnectedEvent()

void Gekko::SessionEventSystem::AddPlayerConnectedEvent ( Handle handle)

Definition at line 120 of file event.cpp.

Here is the call graph for this function:

◆ AddPlayerDisconnectedEvent()

void Gekko::SessionEventSystem::AddPlayerDisconnectedEvent ( Handle handle)

Definition at line 128 of file event.cpp.

Here is the call graph for this function:

◆ AddPlayerSyncingEvent()

void Gekko::SessionEventSystem::AddPlayerSyncingEvent ( Handle handle,
u8 sync,
u8 max )

Definition at line 110 of file event.cpp.

Here is the call graph for this function:

◆ AddReplayDesyncEvent()

void Gekko::SessionEventSystem::AddReplayDesyncEvent ( Frame frame,
u32 checksum,
u32 recorded_checksum )

Definition at line 175 of file event.cpp.

Here is the call graph for this function:

◆ AddReplayFinishedEvent()

void Gekko::SessionEventSystem::AddReplayFinishedEvent ( )

Definition at line 168 of file event.cpp.

Here is the call graph for this function:

◆ AddSessionStartedEvent()

void Gekko::SessionEventSystem::AddSessionStartedEvent ( )

Definition at line 136 of file event.cpp.

Here is the call graph for this function:

◆ AddSpectatorPausedEvent()

void Gekko::SessionEventSystem::AddSpectatorPausedEvent ( )

Definition at line 143 of file event.cpp.

Here is the call graph for this function:

◆ AddSpectatorUnpausedEvent()

void Gekko::SessionEventSystem::AddSpectatorUnpausedEvent ( )

Definition at line 150 of file event.cpp.

Here is the call graph for this function:

◆ GetRecentEvents()

std::vector< GekkoSessionEvent * > & Gekko::SessionEventSystem::GetRecentEvents ( )

Definition at line 105 of file event.cpp.

◆ Reset()

void Gekko::SessionEventSystem::Reset ( )

Definition at line 94 of file event.cpp.

Member Data Documentation

◆ _event_buffer

SessionEventBuffer Gekko::SessionEventSystem::_event_buffer
private

Definition at line 112 of file event.h.

◆ _events

std::vector<GekkoSessionEvent*> Gekko::SessionEventSystem::_events
private

Definition at line 110 of file event.h.


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