Crossfire Server, Trunk  1.75.0
LocalMeta2Info Struct Reference

LocalMeta2Info basically holds all the non server metaserver2 information that we read from the metaserver2 file. More...

+ Collaboration diagram for LocalMeta2Info:

Data Fields

std::string archbase
 Different sources for arches, maps. More...
 
std::string codebase
 
std::string flags
 Short flags to send to metaserver. More...
 
std::string hostname
 Hostname of this server. More...
 
std::string html_comment
 html comment to send to metaservers. More...
 
time_t last_read
 When config was last read. More...
 
std::string mapbase
 and server. More...
 
int notification
 If true, do updates to metaservers. More...
 
int portnumber
 Portnumber of this server. More...
 
std::string text_comment
 text comment to send to metaservers. More...
 

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

Field Documentation

◆ archbase

std::string LocalMeta2Info::archbase

Different sources for arches, maps.

Definition at line 127 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ codebase

std::string LocalMeta2Info::codebase

Definition at line 129 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ flags

std::string LocalMeta2Info::flags

Short flags to send to metaserver.

Definition at line 130 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ hostname

std::string LocalMeta2Info::hostname

Hostname of this server.

Definition at line 123 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ html_comment

std::string LocalMeta2Info::html_comment

html comment to send to metaservers.

Definition at line 125 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ last_read

time_t LocalMeta2Info::last_read

When config was last read.

Definition at line 131 of file metaserver.cpp.

Referenced by metaserver2_config_modified(), and metaserver2_load_config().

◆ mapbase

std::string LocalMeta2Info::mapbase

and server.

Definition at line 128 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ notification

int LocalMeta2Info::notification

If true, do updates to metaservers.

Definition at line 122 of file metaserver.cpp.

Referenced by metaserver2_init(), and metaserver2_load_config().

◆ portnumber

int LocalMeta2Info::portnumber

Portnumber of this server.

Definition at line 124 of file metaserver.cpp.

Referenced by metaserver2_load_config().

◆ text_comment

std::string LocalMeta2Info::text_comment

text comment to send to metaservers.

Definition at line 126 of file metaserver.cpp.

Referenced by metaserver2_load_config().


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