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

Fixed #6: Exposed IGameServerData interface

This commit is contained in:
dreamstalker 2015-05-08 23:07:42 +04:00
parent d152523ae1
commit 35efb4fc8f
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