OpenClonk
C4ConfigIRC Class Reference

#include <C4Config.h>

Public Member Functions

void CompileFunc (StdCompiler *pComp)
 

Public Attributes

char Server [CFG_MaxString+1]
 
char Nick [CFG_MaxString+1]
 
char RealName [CFG_MaxString+1]
 
char Channel [CFG_MaxString+1]
 
int32_t AllowAllChannels
 

Detailed Description

Definition at line 202 of file C4Config.h.

Member Function Documentation

◆ CompileFunc()

void C4ConfigIRC::CompileFunc ( StdCompiler pComp)

Definition at line 199 of file C4Config.cpp.

References mkNamingAdapt(), s, and StdCompiler::Value().

200 {
201  pComp->Value(mkNamingAdapt(s(Server), "Server", "irc.euirc.net", false, true));
202  pComp->Value(mkNamingAdapt(s(Nick), "Nick", "" , false, true));
203  pComp->Value(mkNamingAdapt(s(RealName), "RealName", "" , false, true));
204  pComp->Value(mkNamingAdapt(s(Channel), "Channel", "#openclonk" , false, true));
205  pComp->Value(mkNamingAdapt(AllowAllChannels, "AllowAllChannels", 0 , false, true));
206 }
char Server[CFG_MaxString+1]
Definition: C4Config.h:205
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
char RealName[CFG_MaxString+1]
Definition: C4Config.h:207
void Value(const T &rStruct)
Definition: StdCompiler.h:161
char Nick[CFG_MaxString+1]
Definition: C4Config.h:206
char Channel[CFG_MaxString+1]
Definition: C4Config.h:208
int32_t AllowAllChannels
Definition: C4Config.h:210
#define s
Here is the call graph for this function:

Member Data Documentation

◆ AllowAllChannels

int32_t C4ConfigIRC::AllowAllChannels

Definition at line 210 of file C4Config.h.

Referenced by C4Network2IRCClient::Join().

◆ Channel

◆ Nick

char C4ConfigIRC::Nick[CFG_MaxString+1]

Definition at line 206 of file C4Config.h.

Referenced by C4ChatControl::C4ChatControl(), and C4ChatControl::OnConnectBtn().

◆ RealName

char C4ConfigIRC::RealName[CFG_MaxString+1]

Definition at line 207 of file C4Config.h.

Referenced by C4ChatControl::C4ChatControl(), and C4ChatControl::OnConnectBtn().

◆ Server

char C4ConfigIRC::Server[CFG_MaxString+1]

Definition at line 205 of file C4Config.h.

Referenced by C4ChatControl::OnConnectBtn().


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