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:
parent
b1c62a5107
commit
36bb704114
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user