mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-05 17:13:36 +08:00
Add new IServer member.
This commit is contained in:
parent
54a1c6d203
commit
713b342171
@ -13,6 +13,7 @@
|
|||||||
#include <inetmsghandler.h>
|
#include <inetmsghandler.h>
|
||||||
#include <bitvec.h>
|
#include <bitvec.h>
|
||||||
#include <const.h>
|
#include <const.h>
|
||||||
|
#include <netadr.h>
|
||||||
|
|
||||||
class INetMessage;
|
class INetMessage;
|
||||||
class IRecipientFilter;
|
class IRecipientFilter;
|
||||||
@ -31,7 +32,8 @@ public:
|
|||||||
virtual int GetMaxClients( void ) const = 0; // returns current client limit
|
virtual int GetMaxClients( void ) const = 0; // returns current client limit
|
||||||
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 int GetUDPPort( void ) const = 0; // returns current used UDP port
|
virtual netadr_t GetPublicAddress() = 0;
|
||||||
|
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
|
||||||
virtual float GetTickInterval( void ) const = 0; // tick interval in seconds
|
virtual float GetTickInterval( void ) const = 0; // tick interval in seconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user