mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:29:50 +00:00
Adding Engine Version and Mod name/version checks to multiplayer handshake.
Incrementing protocol version as handshake messages have changed.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include "network/FSM.h"
|
||||
#include "network/NetFileTransfer.h"
|
||||
#include "network/NetHost.h"
|
||||
#include "network/NetMessage.h"
|
||||
#include "scriptinterface/Object.h"
|
||||
|
||||
#include "ps/CStr.h"
|
||||
@@ -367,6 +368,9 @@ private:
|
||||
|
||||
/// Time when the server was last checked for timeouts and bad latency
|
||||
std::time_t m_LastConnectionCheck;
|
||||
|
||||
/// Record of the server engine version and loaded mods
|
||||
CSrvHandshakeMessage m_ServerHandshake;
|
||||
};
|
||||
|
||||
/// Global network client for the standard game
|
||||
|
||||
Reference in New Issue
Block a user