OpenClonk
C4ConfigIRC Class Reference

#include <C4Config.h>

Public Member Functions

void CompileFunc (StdCompiler *compiler)
 

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

Member Function Documentation

◆ CompileFunc()

void C4ConfigIRC::CompileFunc ( StdCompiler compiler)

Definition at line 210 of file C4Config.cpp.

211 {
212  compiler->Value(mkNamingAdapt(s(Server), "Server", "irc.euirc.net", false, true));
213  compiler->Value(mkNamingAdapt(s(Nick), "Nick", "" , false, true));
214  compiler->Value(mkNamingAdapt(s(RealName), "RealName", "" , false, true));
215  compiler->Value(mkNamingAdapt(s(Channel), "Channel", "#openclonk" , false, true));
216  compiler->Value(mkNamingAdapt(AllowAllChannels, "AllowAllChannels", 0 , false, true));
217 }
#define s
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
int32_t AllowAllChannels
Definition: C4Config.h:214
char Channel[CFG_MaxString+1]
Definition: C4Config.h:212
char Nick[CFG_MaxString+1]
Definition: C4Config.h:210
char RealName[CFG_MaxString+1]
Definition: C4Config.h:211
char Server[CFG_MaxString+1]
Definition: C4Config.h:209
void Value(const T &rStruct)
Definition: StdCompiler.h:161

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

Here is the call graph for this function:

Member Data Documentation

◆ AllowAllChannels

int32_t C4ConfigIRC::AllowAllChannels

Definition at line 214 of file C4Config.h.

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

◆ Channel

◆ Nick

char C4ConfigIRC::Nick[CFG_MaxString+1]

◆ RealName

char C4ConfigIRC::RealName[CFG_MaxString+1]

◆ Server

char C4ConfigIRC::Server[CFG_MaxString+1]

Definition at line 209 of file C4Config.h.

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


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