From 553058b7608ad81a1e3d542f621a9295b18e3c0d Mon Sep 17 00:00:00 2001 From: "zer0.k" <61156310+zer0k-z@users.noreply.github.com> Date: Tue, 17 Sep 2024 01:29:14 +0200 Subject: [PATCH] Update CNetworkGameServerBase (#265) --- public/iserver.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/public/iserver.h b/public/iserver.h index b14bbea3..81cb80a6 100644 --- a/public/iserver.h +++ b/public/iserver.h @@ -152,15 +152,15 @@ public: virtual void FillKV3ServerInfo( KeyValues3 *out ) = 0; - virtual void unk401() = 0; + virtual bool IsHLTV() = 0; virtual bool IsPausable( PauseGroup_t ) = 0; // Returns sv_password cvar value, if it's set to "none" nullptr would be returned! virtual const char *GetPassword() = 0; - virtual void unk501() = 0; - virtual void unk502() = 0; + virtual bool IsInPureServerMode() = 0; + virtual void RemoveClientFromGame(CServerSideClientBase *, /*ENetworkDisconnectionReason*/ int ) = 0; virtual void FillServerInfo( CSVCMsg_ServerInfo_t *pServerInfo ) = 0; virtual void UserInfoChanged( CPlayerSlot slot ) = 0; @@ -168,7 +168,7 @@ public: // 2nd arg is unused. virtual void GetClassBaseline( void *, ServerClass *pClass, intp *pOut ) = 0; - virtual void unk601() = 0; + virtual void StartHLTVMaster() = 0; virtual CServerSideClientBase *ConnectClient( const char *pszName, ns_address *pAddr, int socket, CCLCMsg_SplitPlayerConnect_t *pSplitPlayer, const char *pszChallenge, const byte *pAuthTicket, int nAuthTicketLength, bool bIsLowViolence ) = 0; @@ -177,7 +177,7 @@ public: virtual bool FinishCertificateCheck( const ns_address *pAddr, int socket, byte ) = 0; virtual ChallengeType_t GetChallengeType( const ns_address &addr ) = 0; - virtual bool CheckChallenge( const ns_address &addr, const char *pszChallenge ) = 0; + virtual bool CheckPassword( const ns_address &addr, const char *password ) = 0; virtual void CalculateCPUUsage() = 0; };