Crossfire Server, Trunk
LocalMeta2Info Struct Reference
+ Collaboration diagram for LocalMeta2Info:

Data Fields

char * archbase
 
char * codebase
 
char * flags
 
char * hostname
 
char * html_comment
 
char * mapbase
 
int notification
 
int portnumber
 
char * text_comment
 

Detailed Description

LocalMeta2Info basically holds all the non server metaserver2 information that we read from the metaserver2 file. Could just have individual variables, but doing it as a structure is cleaner I think, and might be more flexible if in the future, we want to pass this information to other functions (like plugin or something)

Definition at line 120 of file metaserver.cpp.

Field Documentation

◆ archbase

char* LocalMeta2Info::archbase

Different sources for arches, maps

Definition at line 126 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ codebase

char* LocalMeta2Info::codebase

Definition at line 128 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ flags

char* LocalMeta2Info::flags

Short flags to send to metaserver.

Definition at line 129 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ hostname

char* LocalMeta2Info::hostname

Hostname of this server.

Definition at line 122 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ html_comment

char* LocalMeta2Info::html_comment

html comment to send to metaservers.

Definition at line 124 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ mapbase

char* LocalMeta2Info::mapbase

and server.

Definition at line 127 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ notification

int LocalMeta2Info::notification

If true, do updates to metaservers.

Definition at line 121 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ portnumber

int LocalMeta2Info::portnumber

Portnumber of this server.

Definition at line 123 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ text_comment

char* LocalMeta2Info::text_comment

text comment to send to metaservers.

Definition at line 125 of file metaserver.cpp.

Referenced by metaserver2_init().


The documentation for this struct was generated from the following file: