OpenClonk
 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 203 of file C4Config.h.

Member Function Documentation

void C4ConfigIRC::CompileFunc ( StdCompiler pComp)

Definition at line 203 of file C4Config.cpp.

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

204 {
205  pComp->Value(mkNamingAdapt(s(Server), "Server", "irc.euirc.net", false, true));
206  pComp->Value(mkNamingAdapt(s(Nick), "Nick", "" , false, true));
207  pComp->Value(mkNamingAdapt(s(RealName), "RealName", "" , false, true));
208  pComp->Value(mkNamingAdapt(s(Channel), "Channel", "#openclonk" , false, true));
209  pComp->Value(mkNamingAdapt(AllowAllChannels, "AllowAllChannels", 0 , false, true));
210 }
char Server[CFG_MaxString+1]
Definition: C4Config.h:206
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:93
char RealName[CFG_MaxString+1]
Definition: C4Config.h:208
void Value(const T &rStruct)
Definition: StdCompiler.h:171
char Nick[CFG_MaxString+1]
Definition: C4Config.h:207
char Channel[CFG_MaxString+1]
Definition: C4Config.h:209
int32_t AllowAllChannels
Definition: C4Config.h:211
#define s

Here is the call graph for this function:

Member Data Documentation

int32_t C4ConfigIRC::AllowAllChannels

Definition at line 211 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 206 of file C4Config.h.

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


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