15 lines
482 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
void KeepAliveToPylon();
class CPylon
{
public:
vector<NetGameServer_t> GetServerList(string& svOutMessage);
2022-07-01 10:29:27 +02:00
bool PostServerHost(string& svOutMessage, string& svOutToken, const NetGameServer_t& slServerListing);
bool GetServerByToken(NetGameServer_t& slOutServer, string& svOutMessage, const string& svToken);
bool GetClientIsBanned(const string& svIpAddress, uint64_t nOriginID, string& svOutErrCl);
};
extern CPylon* g_pMasterServer;