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

◆ CompileFunc()

void C4ConfigLobby::CompileFunc ( StdCompiler pComp)

Definition at line 193 of file C4Config.cpp.

References 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

◆ AllowPlayerSave

int32_t C4ConfigLobby::AllowPlayerSave

Definition at line 198 of file C4Config.h.

◆ CountdownTime

int32_t C4ConfigLobby::CountdownTime

Definition at line 197 of file C4Config.h.

Referenced by C4GameLobby::MainDlg::OnRunBtn(), and C4MessageInput::ProcessCommand().

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