OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4GameLobby Namespace Reference

Classes

class  C4PacketCountdown
 
class  C4PacketSetScenarioParameter
 
class  Countdown
 
class  MainDlg
 
class  ScenDesc
 

Functions

void LobbyError (const char *szErrorMsg)
 

Variables

bool UserAbort = false
 
const int32_t AlmostStartCountdownTime = 10
 

Function Documentation

void C4GameLobby::LobbyError ( const char *  szErrorMsg)

Definition at line 703 of file C4GameLobby.cpp.

References C4Network2::GetLobby(), Log(), Network, and C4GameLobby::MainDlg::OnError().

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

704  {
705  // get lobby
706  MainDlg *pLobby = ::Network.GetLobby();
707  if (pLobby) pLobby->OnError(szErrorMsg);
708  else Log(szErrorMsg);
709  }
class C4GameLobby::MainDlg * GetLobby() const
Definition: C4Network2.h:216
C4Network2 Network
Definition: C4Globals.cpp:53
void OnError(const char *szErrMsg)
bool Log(const char *szMessage)
Definition: C4Log.cpp:202

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const int32_t C4GameLobby::AlmostStartCountdownTime = 10
bool C4GameLobby::UserAbort = false