40#ifdef GEKKONET_DLL_EXPORT
42#define GEKKONET_API __declspec(dllexport)
45#define GEKKONET_API __declspec(dllimport)
301#ifndef GEKKONET_NO_ASIO
GEKKONET_API void gekko_set_local_delay(GekkoSession *session, int player, unsigned char delay)
GEKKONET_API GekkoNetAdapter * gekko_default_adapter(unsigned short port)
GEKKONET_API void gekko_add_local_input(GekkoSession *session, int player, void *input)
GEKKONET_API const unsigned char * gekko_peek_recording(GekkoSession *session, unsigned int *length)
GEKKONET_API bool gekko_default_adapter_destroy()
GEKKONET_API bool gekko_load_replay(GekkoSession *session, const unsigned char *replay_data, unsigned int length)
GEKKONET_API void gekko_set_disconnect_timeout(GekkoSession *session, unsigned int timeout)
GEKKONET_API bool gekko_create(GekkoSession **session, GekkoSessionType session_type)
GEKKONET_API bool gekko_record_checksums(GekkoSession *session, unsigned int interval)
GEKKONET_API void gekko_start(GekkoSession *session, GekkoConfig *config)
GEKKONET_API const unsigned char * gekko_replay_user_data(GekkoSession *session, unsigned int *length)
@ GekkoPlayerDisconnected
GEKKONET_API void gekko_network_poll(GekkoSession *session)
GEKKONET_API GekkoGameEvent ** gekko_update_session(GekkoSession *session, int *count)
GEKKONET_API void gekko_network_stats(GekkoSession *session, int player, GekkoNetworkStats *stats)
GEKKONET_API bool gekko_set_replay_user_data(GekkoSession *session, const void *data, unsigned int length)
GEKKONET_API void gekko_rollback_stats(GekkoSession *session, GekkoRollbackStats *stats)
GEKKONET_API float gekko_frames_ahead(GekkoSession *session)
GEKKONET_API int gekko_spectator_buffered_frames(GekkoSession *session)
GEKKONET_API bool gekko_start_recording(GekkoSession *session, bool save_initial_state, bool disable_compression)
GEKKONET_API int gekko_add_actor(GekkoSession *session, GekkoPlayerType player_type, GekkoNetAddress *addr)
GEKKONET_API bool gekko_destroy(GekkoSession **session)
GEKKONET_API void gekko_set_runahead(GekkoSession *session, unsigned char runahead)
GEKKONET_API void gekko_set_input_prediction_window(GekkoSession *session, unsigned char window)
GEKKONET_API bool gekko_disconnect_actor(GekkoSession *session, int actor)
GEKKONET_API const unsigned char * gekko_stop_recording(GekkoSession *session, unsigned int *length)
GEKKONET_API void gekko_net_adapter_set(GekkoSession *session, GekkoNetAdapter *adapter)
GEKKONET_API GekkoSessionEvent ** gekko_session_events(GekkoSession *session, int *count)
unsigned char max_spectators
unsigned char num_players
unsigned char max_input_prediction_window
unsigned int spectator_delay
unsigned int check_distance
union GekkoGameEvent::GekkoEventData data
void(* free_data)(void *data_ptr)
void(* send_data)(GekkoNetAddress *addr, const char *data, int length)
unsigned int total_stalls
unsigned int remote_checksum
unsigned int local_checksum
unsigned int recorded_checksum
GekkoSessionEventType type
union GekkoSessionEvent::GekkoSessionData data
struct GekkoGameEvent::GekkoEventData::GekkoLoad load
struct GekkoGameEvent::GekkoEventData::GekkoAdvance adv
struct GekkoGameEvent::GekkoEventData::GekkoSave save
struct GekkoSessionEvent::GekkoSessionData::GekkoDesynced desynced
struct GekkoSessionEvent::GekkoSessionData::GekkoDisconnected disconnected
struct GekkoSessionEvent::GekkoSessionData::GekkoReplayDesynced replay_desynced
struct GekkoSessionEvent::GekkoSessionData::GekkoSyncing syncing
struct GekkoSessionEvent::GekkoSessionData::GekkoConnected connected