14 lines
543 B
C
Raw Normal View History

#pragma once
2022-07-01 10:29:27 +02:00
#include "serverlisting.h"
2022-07-01 10:29:27 +02:00
class CPylon
{
public:
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;