All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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

void C4ConfigIRC::CompileFunc ( StdCompiler pComp)

Definition at line 199 of file C4Config.cpp.

References AllowAllChannels, Channel, mkNamingAdapt(), Nick, RealName, s, Server, and StdCompiler::Value().

200 {
201  pComp->Value(mkNamingAdapt(s(Server), "Server", "", 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

int32_t C4ConfigIRC::AllowAllChannels

Definition at line 210 of file C4Config.h.

Referenced by CompileFunc(), and C4Network2IRCClient::Join().

char C4ConfigIRC::Nick[CFG_MaxString+1]
char C4ConfigIRC::RealName[CFG_MaxString+1]
char C4ConfigIRC::Server[CFG_MaxString+1]

Definition at line 205 of file C4Config.h.

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

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