Skip to content

File ggponet.h

FileList > GGPOUE4 > Public > include > ggponet.h

Go to the source code of this file

  • #include "CoreMinimal.h"
  • #include <stdarg.h>
  • #include "connection_manager.h"
  • #include <functional>
  • #include "ggponet.generated.h"

Classes

Type Name
struct FGGPONetworkInfo
struct FGGPONetworkStats
struct FGGPOSyncInfo
struct GGPOEvent
struct GGPOLocalEndpoint
class GGPONet
struct GGPOPlayer
struct GGPOSessionCallbacks
class UGGPONetwork
class UGGPONetworkAddress

Public Types

Type Name
enum GGPOErrorCode
enum GGPOEventCode
typedef struct GGPOLocalEndpoint GGPOLocalEndpoint
typedef struct GGPOPlayer GGPOPlayer
typedef int32 GGPOPlayerHandle
enum GGPOPlayerType
typedef struct GGPOSession GGPOSession
typedef long long ggpo_milliseconds_t

Macros

Type Name
define GGPONET_CONVENTION \_\_cdecl
define GGPO_API
define GGPO_ERRORLIST /* multi line expression */
define GGPO_ERRORLIST_ENTRY (name, value) name = value,
define GGPO_INVALID_HANDLE (-1)
define GGPO_MAX_PLAYERS 4
define GGPO_MAX_PREDICTION_FRAMES 8
define GGPO_MAX_SPECTATORS 32
define GGPO_SPECTATOR_INPUT_INTERVAL 4
define GGPO_SUCCEEDED (result) ((result) == GGPO\_ERRORCODE\_SUCCESS)

Public Types Documentation

enum GGPOErrorCode

enum GGPOErrorCode {
    GGPO_ERRORLIST
};

enum GGPOEventCode

enum GGPOEventCode {
    GGPO_EVENTCODE_CONNECTED_TO_PEER = 1000,
    GGPO_EVENTCODE_SYNCHRONIZING_WITH_PEER = 1001,
    GGPO_EVENTCODE_SYNCHRONIZED_WITH_PEER = 1002,
    GGPO_EVENTCODE_RUNNING = 1003,
    GGPO_EVENTCODE_DISCONNECTED_FROM_PEER = 1004,
    GGPO_EVENTCODE_TIMESYNC = 1005,
    GGPO_EVENTCODE_CONNECTION_INTERRUPTED = 1006,
    GGPO_EVENTCODE_CONNECTION_RESUMED = 1007,
    GGPO_EVENTCODE_TIMESYNC_BEHIND = 1008
};

typedef GGPOLocalEndpoint

typedef struct GGPOLocalEndpoint GGPOLocalEndpoint;

typedef GGPOPlayer

typedef struct GGPOPlayer GGPOPlayer;

typedef GGPOPlayerHandle

typedef int32 GGPOPlayerHandle;

enum GGPOPlayerType

enum GGPOPlayerType {
    GGPO_PLAYERTYPE_LOCAL,
    GGPO_PLAYERTYPE_REMOTE,
    GGPO_PLAYERTYPE_SPECTATOR
};

typedef GGPOSession

typedef struct GGPOSession GGPOSession;

typedef ggpo_milliseconds_t

typedef long long ggpo_milliseconds_t;

Macro Definition Documentation

define GGPONET_CONVENTION

#define GGPONET_CONVENTION `__cdecl`

define GGPO_API

#define GGPO_API 

define GGPO_ERRORLIST

#define GGPO_ERRORLIST `/* multi line expression */`

define GGPO_ERRORLIST_ENTRY

#define GGPO_ERRORLIST_ENTRY (
    name,
    value
) `name = value,`

define GGPO_INVALID_HANDLE

#define GGPO_INVALID_HANDLE `(-1)`

define GGPO_MAX_PLAYERS

#define GGPO_MAX_PLAYERS `4`

define GGPO_MAX_PREDICTION_FRAMES

#define GGPO_MAX_PREDICTION_FRAMES `8`

define GGPO_MAX_SPECTATORS

#define GGPO_MAX_SPECTATORS `32`

define GGPO_SPECTATOR_INPUT_INTERVAL

#define GGPO_SPECTATOR_INPUT_INTERVAL `4`

define GGPO_SUCCEEDED

#define GGPO_SUCCEEDED (
    result
) `((result) == GGPO_ERRORCODE_SUCCESS)`


The documentation for this class was generated from the following file C:/Users/wistf/Unreal Projects/NightSkyEngine/Plugins/NightSkyEngine/Source/GGPOUE4/Public/include/ggponet.h