|
GekkoNet 1.0
C/C++ Peer to Peer Game Networking SDK
|
#include <replay_session.h>


Public Member Functions | |
| ReplaySession () | |
| void | Init (GekkoConfig *config) override |
| GekkoGameEvent ** | UpdateSession (i32 *count) override |
| GekkoSessionEvent ** | Events (i32 *count) override |
| bool | LoadReplay (const u8 *replay_data, u32 length) override |
| const u8 * | ReplayUserData (u32 &length) override |
| Public Member Functions inherited from GekkoSession | |
| virtual void | SetLocalDelay (i32 player, u8 delay) |
| virtual void | SetRunahead (u8 runahead) |
| virtual void | SetInputPredictionWindow (u8 window) |
| virtual void | SetNetAdapter (GekkoNetAdapter *adapter) |
| virtual i32 | AddActor (GekkoPlayerType type, GekkoNetAddress *addr) |
| virtual bool | DisconnectActor (i32 actor) |
| virtual void | SetDisconnectTimeout (u32 timeout) |
| virtual void | AddLocalInput (i32 player, void *input) |
| virtual f32 | FramesAhead () |
| virtual i32 | SpectatorBufferedFrames () |
| virtual void | NetworkStats (i32 player, GekkoNetworkStats *stats) |
| virtual void | RollbackStats (GekkoRollbackStats *stats) |
| virtual void | NetworkPoll () |
| virtual bool | StartRecording (bool save_initial_state, bool disable_compression) |
| virtual const u8 * | StopRecording (u32 &length) |
| virtual const u8 * | PeekRecording (u32 &length) |
| virtual bool | RecordChecksums (u32 interval) |
| virtual bool | SetReplayUserData (const u8 *data, u32 length) |
| virtual | ~GekkoSession ()=default |
Private Member Functions | |
| void | AddInitialStateLoad () |
| bool | AddNextReplayInputs () |
| void | AddChecksumSave (Frame frame) |
| void | VerifyChecksum () |
Private Attributes | |
| bool | _started |
| bool | _finished |
| bool | _desynced |
| bool | _checksum_pending |
| u32 | _recorded_checksum |
| StateEntry | _checksum_state |
| GekkoConfig | _config |
| SyncSystem | _sync |
| GameEventSystem | _game_events |
| SessionEventSystem | _session_events |
| ReplaySystem | _replay |
| std::unique_ptr< u8[]> | _inputs |
Definition at line 14 of file replay_session.h.
| Gekko::ReplaySession::ReplaySession | ( | ) |
Definition at line 6 of file replay_session.cpp.
|
private |
|
private |
|
private |
|
overridevirtual |
Implements GekkoSession.
Definition at line 56 of file replay_session.cpp.
|
overridevirtual |
Implements GekkoSession.
Definition at line 17 of file replay_session.cpp.
Reimplemented from GekkoSession.
Definition at line 62 of file replay_session.cpp.
Reimplemented from GekkoSession.
Definition at line 124 of file replay_session.cpp.
|
overridevirtual |
Implements GekkoSession.
Definition at line 22 of file replay_session.cpp.

|
private |
|
private |
Definition at line 44 of file replay_session.h.
|
private |
Definition at line 48 of file replay_session.h.
|
private |
Definition at line 50 of file replay_session.h.
|
private |
Definition at line 42 of file replay_session.h.
|
private |
Definition at line 40 of file replay_session.h.
|
private |
Definition at line 54 of file replay_session.h.
|
private |
Definition at line 60 of file replay_session.h.
|
private |
Definition at line 46 of file replay_session.h.
|
private |
Definition at line 58 of file replay_session.h.
|
private |
Definition at line 56 of file replay_session.h.
|
private |
Definition at line 38 of file replay_session.h.
|
private |
Definition at line 52 of file replay_session.h.