OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4ConfigLobby Class Reference

#include <C4Config.h>

Public Member Functions

void CompileFunc (StdCompiler *pComp)
 

Public Attributes

int32_t CountdownTime
 
int32_t AllowPlayerSave
 

Detailed Description

Definition at line 194 of file C4Config.h.

Member Function Documentation

void C4ConfigLobby::CompileFunc ( StdCompiler pComp)

Definition at line 193 of file C4Config.cpp.

References AllowPlayerSave, CountdownTime, mkNamingAdapt(), and StdCompiler::Value().

194 {
195  pComp->Value(mkNamingAdapt(AllowPlayerSave, "AllowPlayerSave", 0 ,false, false));
196  pComp->Value(mkNamingAdapt(CountdownTime, "CountdownTime", 5 ,false, false));
197 }
int32_t AllowPlayerSave
Definition: C4Config.h:198
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
int32_t CountdownTime
Definition: C4Config.h:197
void Value(const T &rStruct)
Definition: StdCompiler.h:161

Here is the call graph for this function:

Member Data Documentation

int32_t C4ConfigLobby::AllowPlayerSave

Definition at line 198 of file C4Config.h.

Referenced by CompileFunc().

int32_t C4ConfigLobby::CountdownTime

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