Crossfire Server, Trunk  R20993
_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 116 of file metaserver.c.

Field Documentation

◆ archbase

char* _LocalMeta2Info::archbase

Different sources for arches, maps

Definition at line 122 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ codebase

char* _LocalMeta2Info::codebase

Definition at line 124 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ flags

char* _LocalMeta2Info::flags

Short flags to send to metaserver.

Definition at line 125 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ hostname

char* _LocalMeta2Info::hostname

Hostname of this server.

Definition at line 118 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ html_comment

char* _LocalMeta2Info::html_comment

html comment to send to metaservers.

Definition at line 120 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ mapbase

char* _LocalMeta2Info::mapbase

and server.

Definition at line 123 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ notification

int _LocalMeta2Info::notification

If true, do updates to metaservers.

Definition at line 117 of file metaserver.c.

Referenced by metaserver2_init().

◆ portnumber

int _LocalMeta2Info::portnumber

Portnumber of this server.

Definition at line 119 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().

◆ text_comment

char* _LocalMeta2Info::text_comment

text comment to send to metaservers.

Definition at line 121 of file metaserver.c.

Referenced by metaserver2_init(), and metaserver2_writer().


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