|
| Server (const XMLNode &server_info) |
| Initialises the object from an XML node.
|
|
| Server (unsigned server_id, const irr::core::stringw &name, int max_players, int current_players, unsigned difficulty, unsigned server_mode, const SocketAddress &address, bool password_protected, bool game_started, const std::string ¤t_track="") |
|
const SocketAddress & | getAddress () const |
| Returns IPv4 address and port of this server.
|
|
void | setAddress (const SocketAddress &addr) |
|
const std::string & | getLowerCaseName () const |
| Returns the lower case name of the server.
|
|
const irr::core::stringw & | getName () const |
| Returns the name of the server.
|
|
const uint32_t | getServerId () const |
| Returns the ID of this server.
|
|
const uint32_t | getServerOwner () const |
| Returns the user id in STK addon server of the server owner (WAN).
|
|
uint16_t | getPrivatePort () const |
|
const int | getMaxPlayers () const |
| Returns the maximum number of players allowed on this server.
|
|
const int | getCurrentPlayers () const |
| Returns the number of currently connected players.
|
|
unsigned | getServerMode () const |
|
RaceManager::Difficulty | getDifficulty () const |
|
bool | isPasswordProtected () const |
|
const core::stringw & | getServerOwnerName () const |
|
const std::string & | getServerOwnerLowerCaseName () const |
|
float | getDistance () const |
|
bool | supportsEncryption () const |
|
bool | isOfficial () const |
|
bool | isGameStarted () const |
|
const std::vector< std::tuple< int, core::stringw, double, float > > & | getPlayers () const |
|
void | setServerId (unsigned id) |
|
void | setPrivatePort (uint16_t port) |
|
void | setSupportsEncryption (bool val) |
|
bool | searchByName (const std::string &lower_case_word) |
|
Track * | getCurrentTrack () const |
|
const std::string & | getCountryCode () const |
|
void | setIPV6Connection (bool val) |
|
bool | useIPV6Connection () const |
|
void | setIPV6Address (const SocketAddress &addr) |
|
SocketAddress * | getIPV6Address () const |
|
virtual void | saveServer () const |
|
void | setIsPasswordProtected (bool password_protected) |
|
bool | reconnectWhenQuitLobby () const |
|
void | setReconnectWhenQuitLobby (bool val) |
|
std::string | getBookmarkKey () const |
|
const int | getCurrentAI () const |
|