NAME

core_api - API provided by Game Carrier Server

SYNOPSIS

#include <game-carrier/server.h>

typedef struct core_api
{
    ConnectionClose connectionClose;
    ConnectionAddMessage connectionAddMessage;
    ConnectionSetTimer connectionSetTimer;
    ConnectionSetLimit connectionSetLimit;

    GroupSize groupSize;
    GroupCreate groupCreate;
    GroupDestroy groupDestroy;
    GroupAddMessage groupAddMessage;
    GroupAddConnection groupAddConnection;
    GroupRemoveConnection groupRemoveConnection;

    S2SCreate s2sCreate;
    S2SAddMessage s2sAddMessage;
    S2SSetTimer s2sSetTimer;
    S2SDestroy s2sDestroy;

    CounterCreate counterCreate;
    CounterCreateAtomic counterCreateAtomic;
    CounterOpen counterOpen;
    CounterGetNames counterGetNames;
    CounterIncrement counterIncrement;
    CounterDecrement counterDecrement;
    CounterSet counterSet;
    CounterAdd counterAdd;
    CounterGet counterGet;
    CounterSubscribe counterSubscribe;
    CounterUnsubscribe counterUnsubscribe;

    LogMessage logMessage;
    GetOpt getOpt;

    SmartLockCreate smartLockCreate;
    SmartLockDestroy smartLockDestroy;
    SmartLock smartLock;
    SmartUnlock smartUnlock;
} CoreApi;

DESCRIPTION

All Game Carrier Server API functions are contained within this structure.

SEE ALSO

adapter_initialize