OpenClonk
C4LeagueResponseHeadUpdate Class Reference

#include <C4League.h>

Inheritance diagram for C4LeagueResponseHeadUpdate:
[legend]
Collaboration diagram for C4LeagueResponseHeadUpdate:
[legend]

Public Member Functions

const char * getLeague () const
 
const C4ClientPlayerInfosGetPlrInfos () const
 
void CompileFunc (StdCompiler *pComp)
 
const char * getCSID () const
 
const char * getMessage () const
 
bool isSuccess () const
 
bool isStatusRegister () const
 
const char * getAccount () const
 
const char * getAUID () const
 
const char * getFBID () const
 
const char * getLoginToken () const
 

Detailed Description

Definition at line 150 of file C4League.h.

Member Function Documentation

◆ CompileFunc()

void C4LeagueResponseHeadUpdate::CompileFunc ( StdCompiler pComp)

Definition at line 132 of file C4League.cpp.

133 {
134  // Base members
136 
137  // League name
138  pComp->Value(mkNamingAdapt(League, "League", ""));
139 
140  // player infos
141  pComp->Value(mkNamingAdapt(PlrInfos, "PlayerInfos"));
142 }
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
void CompileFunc(StdCompiler *pComp)
Definition: C4League.cpp:101
void Value(const T &rStruct)
Definition: StdCompiler.h:161

References C4LeagueResponseHead::CompileFunc(), mkNamingAdapt(), and StdCompiler::Value().

Here is the call graph for this function:

◆ getAccount()

const char* C4LeagueResponseHead::getAccount ( ) const
inlineinherited

Definition at line 123 of file C4League.h.

123 { return Account.getData(); }
const char * getData() const
Definition: StdBuf.h:442

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetAuthCheckReply(), and C4LeagueClient::GetAuthReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAUID()

const char* C4LeagueResponseHead::getAUID ( ) const
inlineinherited

Definition at line 124 of file C4League.h.

124 { return AUID.getData(); }

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetAuthReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getCSID()

const char* C4LeagueResponseHead::getCSID ( ) const
inlineinherited

Definition at line 119 of file C4League.h.

119 { return CSID.getData(); }

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetStartReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFBID()

const char* C4LeagueResponseHead::getFBID ( ) const
inlineinherited

Definition at line 125 of file C4League.h.

125 { return FBID.getData(); }

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetAuthReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLeague()

const char* C4LeagueResponseHeadUpdate::getLeague ( ) const
inline

Definition at line 157 of file C4League.h.

157 { return League.getData(); }

References StdStrBuf::getData().

Here is the call graph for this function:

◆ getLoginToken()

const char* C4LeagueResponseHead::getLoginToken ( ) const
inlineinherited

Definition at line 126 of file C4League.h.

126 { return LoginToken.getData(); }

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetAuthReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMessage()

const char* C4LeagueResponseHead::getMessage ( ) const
inlineinherited

Definition at line 120 of file C4League.h.

120 { return Message.getData(); }

References StdStrBuf::getData().

Referenced by C4LeagueClient::GetAuthCheckReply(), C4LeagueClient::GetAuthReply(), C4LeagueClient::GetEndReply(), C4LeagueClient::GetReportDisconnectReply(), C4LeagueClient::GetStartReply(), and C4LeagueClient::GetUpdateReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetPlrInfos()

const C4ClientPlayerInfos& C4LeagueResponseHeadUpdate::GetPlrInfos ( ) const
inline

Definition at line 158 of file C4League.h.

158 { return PlrInfos; }

Referenced by C4LeagueClient::GetUpdateReply().

Here is the caller graph for this function:

◆ isStatusRegister()

bool C4LeagueResponseHead::isStatusRegister ( ) const
inlineinherited

Definition at line 122 of file C4League.h.

122 { return SEqualNoCase(Status.getData(), "Register"); }
bool SEqualNoCase(const char *szStr1, const char *szStr2, int iLen)
Definition: Standard.cpp:213

References StdStrBuf::getData(), and SEqualNoCase().

Referenced by C4LeagueClient::GetAuthReply().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isSuccess()

bool C4LeagueResponseHead::isSuccess ( ) const
inlineinherited

Definition at line 121 of file C4League.h.

121 { return SEqualNoCase(Status.getData(), "Success"); }

References StdStrBuf::getData(), and SEqualNoCase().

Referenced by C4LeagueClient::GetAuthCheckReply(), C4LeagueClient::GetAuthReply(), C4LeagueClient::GetEndReply(), C4LeagueClient::GetReportDisconnectReply(), and C4LeagueClient::GetStartReply().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: