mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
14 lines
543 B
C++
14 lines
543 B
C++
#pragma once
|
|
#include "serverlisting.h"
|
|
|
|
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;
|
|
};
|
|
extern CPylon* g_pMasterServer;
|