16 #ifndef C4NETWORK2REFERENCE_H 
   17 #define C4NETWORK2REFERENCE_H 
   19 #include "C4Version.h" 
   46     int32_t LeaguePerformance{0}; 
 
   48     bool JoinAllowed{
true};
 
   49     bool ObservingAllowed{
true};
 
   50     bool PasswordNeeded{
false};
 
   51     bool OfficialServer{
false};
 
  117     void RespondNotImplemented(
const C4NetIO::addr_t &addr, 
const char *szMessage);
 
const int32_t C4ClientMaxAddr
 
bool GetReferences(C4Network2Reference **&rpReferences, int32_t &rRefCount)
 
size_t UnpackPacket(const StdBuf &rInBuf, const C4NetIO::addr_t &addr) override
 
void SetReference(C4Network2Reference *pReference)
 
~C4Network2RefServer() override
 
void PackPacket(const C4NetIOPacket &rPacket, StdBuf &rOutBuf) override
 
C4GameParameters Parameters
 
bool isPasswordNeeded() const
 
int32_t getSortOrder() const
 
void CompileFunc(StdCompiler *pComp)
 
const C4GameVersion & getGameVersion() const
 
const C4Network2Address & getAddr(int i) const
 
bool isOfficialServer() const
 
void SetSourceAddress(const C4NetIO::EndpointAddress &ip)
 
StdStrBuf getNetpuncherAddr() const
 
int32_t getStartTime() const
 
const char * getComment() const
 
StdStrBuf getGameGoalString() const
 
const char * getTitle() const
 
C4Network2Address & getAddr(int i)
 
const C4NetIO::EndpointAddress & GetSourceAddress() const
 
bool isJoinAllowed() const
 
C4Network2Status getGameStatus() const
 
C4NetpuncherID getNetpuncherGameID() const
 
bool GetVersion(StdStrBuf *pVersion)
 
bool GetUpdateURL(StdStrBuf *pUpdateURL)
 
const char * getData() const