28 #ifndef _WANDiscovery_H__ 29 #define _WANDiscovery_H__ 37 #include <OgreStringConverter.h> 41 #define WANDISC_MAXTRIES 5 63 {
return this->msaddress; }
73 std::string getServerListItemName(
unsigned int index );
80 std::string getServerListItemIP(
unsigned int index );
87 std::string getServerListItemRTT(
unsigned int index );
94 std::string getServerListItemPlayerNumber(
unsigned int index );
103 void setConfigValues();
108 int rhandler(
char *addr,
ENetEvent *ev );
118 #endif // _WANDiscovery_H__ Shared library macros, enums, constants and forward declarations for the network library ...
Definition: MasterServerComm.h:43
::std::string string
Definition: gtest-port.h:756
This is the base class of all objects which may contain config values.
Definition: Configurable.h:47
Definition: WANDiscovery.h:47
MasterServerComm msc
Master server communications object.
Definition: WANDiscovery.h:106
An ENet event as returned by enet_host_service().
Definition: enet.h:416
std::vector< packet::ServerInformation > servers_
game server list
Definition: WANDiscovery.h:100
std::string getMSAddress()
Definition: WANDiscovery.h:62
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
#define _NetworkExport
Definition: NetworkPrereqs.h:59
Declaration of Configurable, the base class of all objects which may contain config values...
std::string msaddress
master server address
Definition: WANDiscovery.h:112
Definition of macros and functions for config-values.