2022-02-19 02:31:16 +01:00
|
|
|
#pragma once
|
2022-07-01 10:29:27 +02:00
|
|
|
#include "serverlisting.h"
|
2022-02-19 02:31:16 +01:00
|
|
|
|
2022-07-01 10:29:27 +02:00
|
|
|
class CPylon
|
|
|
|
{
|
|
|
|
public:
|
2022-08-30 12:07:09 +02:00
|
|
|
vector<NetGameServer_t> GetServerList(string& svOutMessage) const;
|
|
|
|
bool GetServerByToken(NetGameServer_t& slOutServer, string& svOutMessage, const string& svToken) const;
|
|
|
|
bool PostServerHost(string& svOutMessage, string& svOutToken, const NetGameServer_t& slServerListing) const;
|
|
|
|
bool KeepAlive(const NetGameServer_t& netGameServer) const;
|
|
|
|
bool CheckForBan(const string& svIpAddress, const uint64_t nNucleusID, string& svOutReason) const;
|
2022-07-01 10:29:27 +02:00
|
|
|
};
|
|
|
|
extern CPylon* g_pMasterServer;
|