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:
commit
29e76e1420
@ -11,3 +11,5 @@ public:
|
||||
|
||||
virtual int ReadDataResponse(void *data, int len) = 0;
|
||||
};
|
||||
|
||||
#define GAMESERVERDATA_INTERFACE_VERSION "GameServerData001"
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user