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

Member Function Documentation

void C4ConfigLobby::CompileFunc ( StdCompiler pComp)

Definition at line 197 of file C4Config.cpp.

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

198 {
199  pComp->Value(mkNamingAdapt(AllowPlayerSave, "AllowPlayerSave", 0 ,false, false));
200  pComp->Value(mkNamingAdapt(CountdownTime, "CountdownTime", 5 ,false, false));
201 }
int32_t AllowPlayerSave
Definition: C4Config.h:199
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:93
int32_t CountdownTime
Definition: C4Config.h:198
void Value(const T &rStruct)
Definition: StdCompiler.h:171

Here is the call graph for this function:

Member Data Documentation

int32_t C4ConfigLobby::AllowPlayerSave

Definition at line 199 of file C4Config.h.

Referenced by CompileFunc().

int32_t C4ConfigLobby::CountdownTime

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