Torque2D Reference
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
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 ()
 

Public Attributes

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 ( )
inline
~ServerInfo ( )

Member Function Documentation

bool hasResponded ( )
inline
bool isDedicated ( )
inline
bool isLinux ( )
inline
bool isNew ( )
inline
bool isPassworded ( )
inline
bool isQuerying ( )
inline
bool isTimedOut ( )
inline
bool isUpdating ( )
inline

Member Data Documentation

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

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