Zap::QueryServersUserInterface class Reference
Zap::QueryServersUserInterface Class Reference
#include <UIQueryServers.h>
Inheritance diagram for Zap::QueryServersUserInterface:
|
Public Types |
enum | {
MaxServerNameLen = 20,
ServersPerScreen = 21,
ServersAbove = 9,
ServersBelow = 9,
MaxPendingPings = 15,
MaxPendingQueries = 10,
PingQueryTimeout = 1500,
PingQueryRetryCount = 3
} |
Public Member Functions |
| QueryServersUserInterface () |
S32 | findSelectedIndex () |
void | onKeyDown (U32 key) |
void | onSpecialKeyDown (U32 key) |
void | onControllerButtonDown (U32 buttonIndex) |
void | onActivate () |
void | idle (U32 t) |
void | render () |
void | addPingServers (const Vector< IPAddress > &ipList) |
void | sort () |
void | gotPingResponse (const Address &theAddress, const Nonce &clientNonce, U32 clientIdentityToken) |
void | gotQueryResponse (const Address &theAddress, const Nonce &clientNonce, const char *serverName, U32 playerCount, U32 maxPlayers, bool dedicated, bool passwordRequired) |
Data Fields |
U32 | selectedId |
S32 | sortColumn |
S32 | lastSortColumn |
bool | sortAscending |
bool | shouldSort |
Nonce | mNonce |
U32 | pendingPings |
U32 | pendingQueries |
U32 | broadcastPingSendTime |
U32 | lastUsedServerId |
Vector< ServerRef > | servers |
Vector< ColumnInfo > | columns |
Member Enumeration Documentation
|
- Enumeration values:
-
MaxServerNameLen |
|
ServersPerScreen |
|
ServersAbove |
|
ServersBelow |
|
MaxPendingPings |
|
MaxPendingQueries |
|
PingQueryTimeout |
|
PingQueryRetryCount |
|
|
Constructor & Destructor Documentation
Zap::QueryServersUserInterface::QueryServersUserInterface |
( |
|
) |
|
|
Member Function Documentation
S32 Zap::QueryServersUserInterface::findSelectedIndex |
( |
|
) |
|
|
void Zap::QueryServersUserInterface::onKeyDown |
( |
U32 |
key |
) |
[virtual] |
|
void Zap::QueryServersUserInterface::onSpecialKeyDown |
( |
U32 |
key |
) |
[virtual] |
|
void Zap::QueryServersUserInterface::onControllerButtonDown |
( |
U32 |
buttonIndex |
) |
[virtual] |
|
void Zap::QueryServersUserInterface::onActivate |
( |
|
) |
[virtual] |
|
void Zap::QueryServersUserInterface::idle |
( |
U32 |
t |
) |
[virtual] |
|
void Zap::QueryServersUserInterface::render |
( |
|
) |
[virtual] |
|
void Zap::QueryServersUserInterface::addPingServers |
( |
const Vector< IPAddress > & |
ipList |
) |
|
|
void Zap::QueryServersUserInterface::sort |
( |
|
) |
|
|
void Zap::QueryServersUserInterface::gotPingResponse |
( |
const Address & |
theAddress, |
|
|
const Nonce & |
clientNonce, |
|
|
U32 |
clientIdentityToken |
|
) |
|
|
void Zap::QueryServersUserInterface::gotQueryResponse |
( |
const Address & |
theAddress, |
|
|
const Nonce & |
clientNonce, |
|
|
const char * |
serverName, |
|
|
U32 |
playerCount, |
|
|
U32 |
maxPlayers, |
|
|
bool |
dedicated, |
|
|
bool |
passwordRequired |
|
) |
|
|
Field Documentation