2
0
mirror of https://github.com/rehlds/rehlds.git synced 2024-12-29 08:05:50 +03:00

Merge pull request #7 from dreamstalker/#6

Fixed #6: Exposed IGameServerData interface
This commit is contained in:
dreamstalker 2015-05-08 23:43:32 +04:00
commit 29e76e1420
2 changed files with 9 additions and 0 deletions

View File

@ -11,3 +11,5 @@ public:
virtual int ReadDataResponse(void *data, int len) = 0;
};
#define GAMESERVERDATA_INTERFACE_VERSION "GameServerData001"

View File

@ -304,3 +304,10 @@ void NotifyDedicatedServerUI(const char *message)
{
g_ServerRemoteAccess.SendMessageToAdminUI(message);
}
#ifndef HOOK_ENGINE
EXPOSE_SINGLE_INTERFACE_GLOBALVAR(CServerRemoteAccess, IGameServerData, GAMESERVERDATA_INTERFACE_VERSION, g_ServerRemoteAccess)
#endif //HOOK_ENGINE