From 982f3c5bb9d415c6e6dba70192669c34ad63a2db Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sun, 6 Apr 2014 17:02:48 -0400 Subject: [PATCH] Update IServerGameClients. --HG-- extra : rebase_source : 61ba9f87d54866ffd23bf9a448e7727575896801 --- public/eiface.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/eiface.h b/public/eiface.h index 86a7233b..748e875b 100644 --- a/public/eiface.h +++ b/public/eiface.h @@ -682,7 +682,7 @@ public: virtual void ClientFullyConnect( CEntityIndex index ) = 0; // Client is disconnecting from server - virtual void ClientDisconnect( CEntityIndex index ) = 0; + virtual void ClientDisconnect( CEntityIndex index, /* ENetworkDisconnectionReason */ int reason ) = 0; // Client is connected and should be put in the game virtual void ClientPutInServer( CEntityIndex index, char const *playername ) = 0; @@ -734,7 +734,7 @@ public: virtual bool DispatchClientMessage( CEntityIndex index, int msg_type, int size, const uint8 *pData ) = 0; - virtual bool CanHLTVClientConnect( int index, const CSteamID &steamID, const char **ppszRejectReason ) = 0; + virtual bool CanHLTVClientConnect( int index, const CSteamID &steamID, int *pRejectReason ) = 0; }; #define INTERFACEVERSION_UPLOADGAMESTATS "ServerUploadGameStats001"