Kawe Mazidjatari afad5b92ec Rename 'OriginID' to 'NucleusID'
Nucleus ID is the official internal term for the platform user id used by the OriginSDK.
2022-08-29 15:59:12 +02:00

15 lines
513 B
C++

#pragma once
#include "serverlisting.h"
bool KeepAliveToPylon(const NetGameServer_t& netGameServer);
class CPylon
{
public:
vector<NetGameServer_t> GetServerList(string& svOutMessage);
bool PostServerHost(string& svOutMessage, string& svOutToken, const NetGameServer_t& slServerListing);
bool GetServerByToken(NetGameServer_t& slOutServer, string& svOutMessage, const string& svToken);
bool CheckForBan(const string& svIpAddress, uint64_t nNucleusID, string& svOutErrCl);
};
extern CPylon* g_pMasterServer;