mirror of
https://github.com/celisej567/source-engine.git
synced 2026-09-13 20:13:45 +03:00
engine(masterserver): add additional masterserver, implement setmaster command
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
|
||||
#include "engine/iserversinfo.h"
|
||||
|
||||
#define DEFAULT_MASTER_ADDRESS "185.192.97.130:27010"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Purpose: Implements a master server interface.
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -48,7 +46,7 @@ public:
|
||||
// Master sent back a challenge value, read it and send the actual heartbeat
|
||||
virtual void RespondToHeartbeatChallenge( netadr_t &from, bf_read &msg ) = 0;
|
||||
// Console command to set/remove master server
|
||||
virtual void SetMaster_f( void ) = 0;
|
||||
virtual void SetMaster_f( const CCommand &args ) = 0;
|
||||
// Force a heartbeat to be issued right away
|
||||
virtual void Heartbeat_f( void ) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user