1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

Add new IServer member IsUsingFakeIP (#96)

This commit is contained in:
sapphonie 2021-10-05 20:55:16 -04:00 committed by GitHub
parent b1c62a5107
commit 36bb704114
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// //========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
// //
// Purpose: // Purpose:
// //
@ -33,6 +33,7 @@ public:
virtual IClient *GetClient( int index ) = 0; // returns interface to client virtual IClient *GetClient( int index ) = 0; // returns interface to client
virtual int GetClientCount() const = 0; // returns number of clients slots (used & unused) virtual int GetClientCount() const = 0; // returns number of clients slots (used & unused)
virtual netadr_t GetPublicAddress() = 0; virtual netadr_t GetPublicAddress() = 0;
virtual bool IsUsingFakeIP( void ) const = 0;
virtual int GetLocalUDPPort( void ) const = 0; // returns current used UDP port virtual int GetLocalUDPPort( void ) const = 0; // returns current used UDP port
virtual float GetTime( void ) const = 0; // returns game world time virtual float GetTime( void ) const = 0; // returns game world time
virtual int GetTick( void ) const = 0; // returns game world tick virtual int GetTick( void ) const = 0; // returns game world tick