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 127 of file metaserver.cpp.

Field Documentation

◆ archbase

char* _LocalMeta2Info::archbase

Different sources for arches, maps

Definition at line 133 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ codebase

char* _LocalMeta2Info::codebase

Definition at line 135 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ flags

char* _LocalMeta2Info::flags

Short flags to send to metaserver.

Definition at line 136 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ hostname

char* _LocalMeta2Info::hostname

Hostname of this server.

Definition at line 129 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ html_comment

char* _LocalMeta2Info::html_comment

html comment to send to metaservers.

Definition at line 131 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ mapbase

char* _LocalMeta2Info::mapbase

and server.

Definition at line 134 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ notification

int _LocalMeta2Info::notification

If true, do updates to metaservers.

Definition at line 128 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ portnumber

int _LocalMeta2Info::portnumber

Portnumber of this server.

Definition at line 130 of file metaserver.cpp.

Referenced by metaserver2_init().

◆ text_comment

char* _LocalMeta2Info::text_comment

text comment to send to metaservers.

Definition at line 132 of file metaserver.cpp.

Referenced by metaserver2_init().


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