Crossfire Client, Branches
R11627
|
#include <metaserver.h>
Data Fields | |
char | archbase [MS_SMALL_BUF] |
char | codebase [MS_SMALL_BUF] |
int | cs_version |
char | flags [MS_SMALL_BUF] |
char | hostname [MS_LARGE_BUF] |
char | html_comment [MS_LARGE_BUF] |
int | idle_time |
uint32 | in_bytes |
char | ip_addr [MS_SMALL_BUF] |
char | mapbase [MS_SMALL_BUF] |
int | num_players |
uint32 | out_bytes |
int | port |
int | sc_version |
char | text_comment [MS_LARGE_BUF] |
int | uptime |
char | version [MS_SMALL_BUF] |
Structure that contains data we get from metaservers This is used by both metaserver1 and metaserver2 support - fields used by only one metaserver type or the other are noted with MS1 or MS2 comments. Note that the client doesn't necessary do anything with all of these fields, but might as well store them around just in case
Definition at line 46 of file metaserver.h.
char Meta_Info::archbase[MS_SMALL_BUF] |
Definition at line 53 of file metaserver.h.
char Meta_Info::codebase[MS_SMALL_BUF] |
Definition at line 55 of file metaserver.h.
int Meta_Info::cs_version |
Definition at line 65 of file metaserver.h.
Referenced by metaserver2_writer().
char Meta_Info::flags[MS_SMALL_BUF] |
Definition at line 56 of file metaserver.h.
char Meta_Info::hostname[MS_LARGE_BUF] |
Definition at line 48 of file metaserver.h.
Referenced by meta_sort(), metaserver1_thread(), and metaserver_select().
char Meta_Info::html_comment[MS_LARGE_BUF] |
Definition at line 50 of file metaserver.h.
int Meta_Info::idle_time |
Definition at line 60 of file metaserver.h.
Referenced by metaserver1_thread(), and metaserver2_writer().
uint32 Meta_Info::in_bytes |
Definition at line 58 of file metaserver.h.
Referenced by metaserver2_writer().
char Meta_Info::ip_addr[MS_SMALL_BUF] |
Definition at line 47 of file metaserver.h.
Referenced by metaserver1_thread(), and metaserver_select().
char Meta_Info::mapbase[MS_SMALL_BUF] |
Definition at line 54 of file metaserver.h.
int Meta_Info::num_players |
Definition at line 57 of file metaserver.h.
Referenced by metaserver1_thread(), and metaserver2_writer().
uint32 Meta_Info::out_bytes |
Definition at line 59 of file metaserver.h.
Referenced by metaserver2_writer().
int Meta_Info::port |
Definition at line 49 of file metaserver.h.
Referenced by metaserver2_writer(), and metaserver_select().
int Meta_Info::sc_version |
Definition at line 64 of file metaserver.h.
Referenced by metaserver2_writer().
char Meta_Info::text_comment[MS_LARGE_BUF] |
Definition at line 51 of file metaserver.h.
Referenced by metaserver1_thread().
int Meta_Info::uptime |
Definition at line 62 of file metaserver.h.
Referenced by metaserver2_writer().
char Meta_Info::version[MS_SMALL_BUF] |
Definition at line 63 of file metaserver.h.
Referenced by metaserver1_thread().