Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ class AnticheatPlugInterface

static void BeginSession();
static void EndSession();
static void RegisterHostCallbacks();

// Callbacks from plugin
typedef void (*LoginCallback)(bool bSuccess);
Expand Down Expand Up @@ -84,6 +85,7 @@ class AnticheatPlugInterface
typedef void (*FuncDefTick)(void);

typedef void (*FuncDefShutdown)(void);
typedef void (*FuncDefClearAllHostCallbacks)(void);

struct AnticheatPluginFunctionPtrs
{
Expand All @@ -105,6 +107,7 @@ class AnticheatPlugInterface
FuncDefDeregisterPlayer fnDeregisterPlayer = nullptr;
FuncDefTick fnTick = nullptr;
FuncDefShutdown fnShutdown = nullptr;
FuncDefClearAllHostCallbacks fnClearAllHostCallbacks = nullptr;
};
static AnticheatPluginFunctionPtrs Functions;

Expand Down
Loading
Loading