#include "network/NetMessage.h"
#include "ps/Mod.h"
#include "ps/Pyrogenesis.h"
#include <optional>
#include <string>
#include <type_traits>
#include <vector>
Go to the source code of this file.
◆ CheckHandshake()
| std::optional< HandshakeError > CheckHandshake |
( |
const CSrvHandshakeMessage & |
serverMessage, |
|
|
const CCliHandshakeMessage & |
clientMessage |
|
) |
| |
◆ CreateHandshake()
template<typename Message >
| Message CreateHandshake |
( |
| ) |
|
◆ NETWORK_WARNING_TIMEOUT
| constexpr std::uint32_t NETWORK_WARNING_TIMEOUT {2000} |
|
inlineconstexpr |
Report the peer if we didn't receive a packet after this time (milliseconds).