1 #ifndef ERIS_SERVER_INFO_H 2 #define ERIS_SERVER_INFO_H 4 #include <Atlas/Objects/ObjectsFwd.h> 37 Status getStatus()
const 64 {
return m_buildDate; }
84 const std::vector<std::string>& getAssets()
const {
97 void processServer(
const Atlas::Objects::Entity::RootEntity &svr);
100 void setStatus(Status s);
117 std::string m_version;
118 std::string m_buildDate;
123 std::vector<std::string> m_assets;
const std::string & getBuildDate() const
the server program build-date, as a free text string
Definition: ServerInfo.h:63
int getPing() const
the round-trip time to the server.
Definition: ServerInfo.h:73
Information about a specific game server, retrieved via the Meta-server and anonymous GETs...
Definition: ServerInfo.h:22
const std::string & getServername() const
retrieve the human-readable name of the server (e.g 'Bob's Mason Server')
Definition: ServerInfo.h:47
long getEntities() const
the number of entities on the server
Definition: ServerInfo.h:81
const std::string & getVersion() const
the server program version, as a free text string
Definition: ServerInfo.h:59
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
const std::string & getServer() const
the server program name, i.e 'stage' or 'cyphesis'
Definition: ServerInfo.h:55
Underlying Atlas connection, providing a send interface, and receive (dispatch) system.
Definition: Connection.h:36
server query timed out
Definition: ServerInfo.h:31
const std::string & getRuleset() const
retrieve a human-readable name of the ruleset (e.g. 'mason' or 'circe')
Definition: ServerInfo.h:51
Status
Definition: ServerInfo.h:27
double getUptime() const
the server's uptime in seconds
Definition: ServerInfo.h:77
const std::string & getHostname() const
retrive the hostname (or dotted-decimal IP) of the server.
Definition: ServerInfo.h:43
void processServer(const Atlas::Objects::Entity::RootEntity &svr)
called by Meta when info is received from the server, sets status to valid.
Definition: ServerInfo.cpp:40
int getNumClients() const
the number of clients currently connected to the server
Definition: ServerInfo.h:67