CEL

Public API Reference

iCelGame Struct Reference

A networked game. More...

#include <physicallayer/network.h>

List of all members.

Public Member Functions

virtual iCelGameClientGetGameClient () const =0
 Return the local client if available, 0 otherwise.
virtual celGameInfoGetGameInfo ()=0
 Return the general info of the game.
virtual iCelGameServerGetGameServer () const =0
 Return the local server if available, 0 otherwise.
virtual celNetworkGameType GetGameType () const =0
 Return the type of the game.
virtual bool IsClientAvailable () const =0
 Return true if a local client is available in this process, false otherwise.
virtual bool IsServerAvailable () const =0
 Return true if a local server is available in this process, false otherwise.


Detailed Description

A networked game.

It maintains the main data of a game: game type, game info and pointers to the local client and server.

Definition at line 52 of file network.h.


Member Function Documentation

virtual iCelGameClient* iCelGame::GetGameClient (  )  const [pure virtual]

Return the local client if available, 0 otherwise.

virtual celGameInfo* iCelGame::GetGameInfo (  )  [pure virtual]

Return the general info of the game.

virtual iCelGameServer* iCelGame::GetGameServer (  )  const [pure virtual]

Return the local server if available, 0 otherwise.

virtual celNetworkGameType iCelGame::GetGameType (  )  const [pure virtual]

Return the type of the game.

virtual bool iCelGame::IsClientAvailable (  )  const [pure virtual]

Return true if a local client is available in this process, false otherwise.

virtual bool iCelGame::IsServerAvailable (  )  const [pure virtual]

Return true if a local server is available in this process, false otherwise.


The documentation for this struct was generated from the following file:
Generated for CEL: Crystal Entity Layer by doxygen 1.4.7