torque Torque Game Engine Documentation
TGE Version 1.5.2

ServerInfo Struct Reference

#include <serverQuery.h>


Public Types

enum  StatusFlags {
  Status_Dedicated = BIT(0),
  Status_Passworded = BIT(1),
  Status_Linux = BIT(2),
  Status_New = 0,
  Status_Querying = BIT(28),
  Status_Updating = BIT(29),
  Status_Responded = BIT(30),
  Status_TimedOut = BIT(31)
}

Public Member Functions

 ServerInfo ()
 ~ServerInfo ()
bool isNew ()
bool isQuerying ()
bool isUpdating ()
bool hasResponded ()
bool isTimedOut ()
bool isDedicated ()
bool isPassworded ()
bool isLinux ()

Data Fields

U8 numPlayers
U8 maxPlayers
U8 numBots
char * name
char * gameType
char * missionName
char * missionType
char * statusString
char * infoString
NetAddress address
U32 version
U32 ping
U32 cpuSpeed
bool isFavorite
BitSet32 status


Member Enumeration Documentation

Enumerator:
Status_Dedicated 
Status_Passworded 
Status_Linux 
Status_New 
Status_Querying 
Status_Updating 
Status_Responded 
Status_TimedOut 


Constructor & Destructor Documentation

ServerInfo::ServerInfo (  )  [inline]

ServerInfo::~ServerInfo (  ) 


Member Function Documentation

bool ServerInfo::isNew (  )  [inline]

bool ServerInfo::isQuerying (  )  [inline]

bool ServerInfo::isUpdating (  )  [inline]

bool ServerInfo::hasResponded (  )  [inline]

bool ServerInfo::isTimedOut (  )  [inline]

bool ServerInfo::isDedicated (  )  [inline]

bool ServerInfo::isPassworded (  )  [inline]

bool ServerInfo::isLinux (  )  [inline]


Field Documentation




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen