OpenClonk
C4ConfigLobby Class Reference

#include <C4Config.h>

Public Member Functions

void CompileFunc (StdCompiler *compiler)
 

Public Attributes

int32_t CountdownTime
 
int32_t AllowPlayerSave
 

Detailed Description

Definition at line 198 of file C4Config.h.

Member Function Documentation

◆ CompileFunc()

void C4ConfigLobby::CompileFunc ( StdCompiler compiler)

Definition at line 204 of file C4Config.cpp.

205 {
206  compiler->Value(mkNamingAdapt(AllowPlayerSave, "AllowPlayerSave", 0 ,false, false));
207  compiler->Value(mkNamingAdapt(CountdownTime, "CountdownTime", 5 ,false, false));
208 }
StdNamingAdapt< T > mkNamingAdapt(T &&rValue, const char *szName)
Definition: StdAdaptors.h:92
int32_t AllowPlayerSave
Definition: C4Config.h:202
int32_t CountdownTime
Definition: C4Config.h:201
void Value(const T &rStruct)
Definition: StdCompiler.h:161

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

Here is the call graph for this function:

Member Data Documentation

◆ AllowPlayerSave

int32_t C4ConfigLobby::AllowPlayerSave

Definition at line 202 of file C4Config.h.

Referenced by CompileFunc().

◆ CountdownTime

int32_t C4ConfigLobby::CountdownTime

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