CEL

Public API Reference

Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members

iCelGame Struct Reference

A networked game. More...

#include <physicallayer/network.h>

List of all members.

Public Member Functions

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