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

Go to the source code of this file.
Classes | |
| struct | GekkoConfig |
| struct | GekkoNetAddress |
| struct | GekkoNetResult |
| struct | GekkoNetAdapter |
| struct | GekkoGameEvent |
| union | GekkoGameEvent::GekkoEventData |
| struct | GekkoGameEvent::GekkoEventData::GekkoAdvance |
| struct | GekkoGameEvent::GekkoEventData::GekkoSave |
| struct | GekkoGameEvent::GekkoEventData::GekkoLoad |
| struct | GekkoSessionEvent |
| union | GekkoSessionEvent::GekkoSessionData |
| struct | GekkoSessionEvent::GekkoSessionData::GekkoSyncing |
| struct | GekkoSessionEvent::GekkoSessionData::GekkoConnected |
| struct | GekkoSessionEvent::GekkoSessionData::GekkoDisconnected |
| struct | GekkoSessionEvent::GekkoSessionData::GekkoDesynced |
| struct | GekkoSessionEvent::GekkoSessionData::GekkoReplayDesynced |
| struct | GekkoNetworkStats |
| struct | GekkoRollbackStats |
Macros | |
| #define | GEKKONET_API |
Typedefs | |
| typedef struct GekkoSession | GekkoSession |
| typedef enum GekkoSessionType | GekkoSessionType |
| typedef struct GekkoConfig | GekkoConfig |
| typedef enum GekkoPlayerType | GekkoPlayerType |
| typedef struct GekkoNetAddress | GekkoNetAddress |
| typedef struct GekkoNetResult | GekkoNetResult |
| typedef struct GekkoNetAdapter | GekkoNetAdapter |
| typedef enum GekkoGameEventType | GekkoGameEventType |
| typedef struct GekkoGameEvent | GekkoGameEvent |
| typedef enum GekkoSessionEventType | GekkoSessionEventType |
| typedef struct GekkoSessionEvent | GekkoSessionEvent |
| typedef struct GekkoNetworkStats | GekkoNetworkStats |
| typedef struct GekkoRollbackStats | GekkoRollbackStats |
Enumerations | |
| enum | GekkoSessionType { GekkoGameSession , GekkoStressSession , GekkoSpectateSession , GekkoReplaySession } |
| enum | GekkoPlayerType { GekkoLocalPlayer , GekkoRemotePlayer , GekkoSpectator } |
| enum | GekkoGameEventType { GekkoEmptyGameEvent = -1 , GekkoAdvanceEvent , GekkoSaveEvent , GekkoLoadEvent } |
| enum | GekkoSessionEventType { GekkoEmptySessionEvent = -1 , GekkoPlayerSyncing , GekkoPlayerConnected , GekkoPlayerDisconnected , GekkoSessionStarted , GekkoSpectatorPaused , GekkoSpectatorUnpaused , GekkoDesyncDetected , GekkoReplayFinished , GekkoReplayDesync } |
| #define GEKKONET_API |
Definition at line 50 of file gekkonet.h.
| typedef struct GekkoConfig GekkoConfig |
| typedef struct GekkoGameEvent GekkoGameEvent |
| typedef enum GekkoGameEventType GekkoGameEventType |
| typedef struct GekkoNetAdapter GekkoNetAdapter |
| typedef struct GekkoNetAddress GekkoNetAddress |
| typedef struct GekkoNetResult GekkoNetResult |
| typedef struct GekkoNetworkStats GekkoNetworkStats |
| typedef enum GekkoPlayerType GekkoPlayerType |
| typedef struct GekkoRollbackStats GekkoRollbackStats |
| typedef struct GekkoSession GekkoSession |
Definition at line 56 of file gekkonet.h.
| typedef struct GekkoSessionEvent GekkoSessionEvent |
| typedef enum GekkoSessionEventType GekkoSessionEventType |
| typedef enum GekkoSessionType GekkoSessionType |
| enum GekkoGameEventType |
| Enumerator | |
|---|---|
| GekkoEmptyGameEvent | |
| GekkoAdvanceEvent | |
| GekkoSaveEvent | |
| GekkoLoadEvent | |
Definition at line 105 of file gekkonet.h.
| enum GekkoPlayerType |
| Enumerator | |
|---|---|
| GekkoLocalPlayer | |
| GekkoRemotePlayer | |
| GekkoSpectator | |
Definition at line 77 of file gekkonet.h.
Definition at line 139 of file gekkonet.h.
| enum GekkoSessionType |
| Enumerator | |
|---|---|
| GekkoGameSession | |
| GekkoStressSession | |
| GekkoSpectateSession | |
| GekkoReplaySession | |
Definition at line 58 of file gekkonet.h.
| GEKKONET_API int gekko_add_actor | ( | GekkoSession * | session, |
| GekkoPlayerType | player_type, | ||
| GekkoNetAddress * | addr ) |
| GEKKONET_API void gekko_add_local_input | ( | GekkoSession * | session, |
| int | player, | ||
| void * | input ) |
| GEKKONET_API bool gekko_create | ( | GekkoSession ** | session, |
| GekkoSessionType | session_type ) |
Definition at line 8 of file gekkonet.cpp.
| GEKKONET_API GekkoNetAdapter * gekko_default_adapter | ( | unsigned short | port | ) |
Definition at line 288 of file gekkonet.cpp.
| GEKKONET_API bool gekko_default_adapter_destroy | ( | ) |
Definition at line 322 of file gekkonet.cpp.
| GEKKONET_API bool gekko_destroy | ( | GekkoSession ** | session | ) |
Definition at line 38 of file gekkonet.cpp.
| GEKKONET_API bool gekko_disconnect_actor | ( | GekkoSession * | session, |
| int | actor ) |
| GEKKONET_API float gekko_frames_ahead | ( | GekkoSession * | session | ) |
| GEKKONET_API bool gekko_load_replay | ( | GekkoSession * | session, |
| const unsigned char * | replay_data, | ||
| unsigned int | length ) |
| GEKKONET_API void gekko_net_adapter_set | ( | GekkoSession * | session, |
| GekkoNetAdapter * | adapter ) |
| GEKKONET_API void gekko_network_poll | ( | GekkoSession * | session | ) |
| GEKKONET_API void gekko_network_stats | ( | GekkoSession * | session, |
| int | player, | ||
| GekkoNetworkStats * | stats ) |
| GEKKONET_API const unsigned char * gekko_peek_recording | ( | GekkoSession * | session, |
| unsigned int * | length ) |
| GEKKONET_API bool gekko_record_checksums | ( | GekkoSession * | session, |
| unsigned int | interval ) |
| GEKKONET_API const unsigned char * gekko_replay_user_data | ( | GekkoSession * | session, |
| unsigned int * | length ) |
| GEKKONET_API void gekko_rollback_stats | ( | GekkoSession * | session, |
| GekkoRollbackStats * | stats ) |
| GEKKONET_API GekkoSessionEvent ** gekko_session_events | ( | GekkoSession * | session, |
| int * | count ) |
| GEKKONET_API void gekko_set_disconnect_timeout | ( | GekkoSession * | session, |
| unsigned int | timeout ) |
| GEKKONET_API void gekko_set_input_prediction_window | ( | GekkoSession * | session, |
| unsigned char | window ) |
| GEKKONET_API void gekko_set_local_delay | ( | GekkoSession * | session, |
| int | player, | ||
| unsigned char | delay ) |
| GEKKONET_API bool gekko_set_replay_user_data | ( | GekkoSession * | session, |
| const void * | data, | ||
| unsigned int | length ) |
| GEKKONET_API void gekko_set_runahead | ( | GekkoSession * | session, |
| unsigned char | runahead ) |
| GEKKONET_API int gekko_spectator_buffered_frames | ( | GekkoSession * | session | ) |
| GEKKONET_API void gekko_start | ( | GekkoSession * | session, |
| GekkoConfig * | config ) |
| GEKKONET_API bool gekko_start_recording | ( | GekkoSession * | session, |
| bool | save_initial_state, | ||
| bool | disable_compression ) |
| GEKKONET_API const unsigned char * gekko_stop_recording | ( | GekkoSession * | session, |
| unsigned int * | length ) |
| GEKKONET_API GekkoGameEvent ** gekko_update_session | ( | GekkoSession * | session, |
| int * | count ) |