Freeciv-3.2
Loading...
Searching...
No Matches
Data Fields
server_option Struct Reference

Data Fields

struct option base_option
 
charname
 
chardescription
 
charhelp_text
 
unsigned char category
 
bool desired_sent
 
bool is_changeable
 
bool is_visible
 
enum setting_default_level setdef
 
union { 
 
   struct { 
 
      bool   value 
 
      bool   def 
 
   }   boolean 
 
   struct { 
 
      int   value 
 
      int   def 
 
      int   min 
 
      int   max 
 
   }   integer 
 
   struct { 
 
      char *   value 
 
      char *   def 
 
   }   string 
 
   struct { 
 
      int   value 
 
      int   def 
 
      struct strvec *   support_names 
 
      struct strvec *   pretty_names 
 
   }   enumerator 
 
   struct { 
 
      unsigned   value 
 
      unsigned   def 
 
      struct strvec *   support_names 
 
      struct strvec *   pretty_names 
 
   }   bitwise 
 
};  
 

Detailed Description

Definition at line 4107 of file options.c.

Field Documentation

◆ [union]

union { ... } server_option

◆ base_option

struct option server_option::base_option

Definition at line 4108 of file options.c.

◆ [struct]

struct { ... } server_option::bitwise

◆ [struct]

struct { ... } server_option::boolean

◆ category

unsigned char server_option::category

Definition at line 4113 of file options.c.

◆ def [1/4]

bool server_option::def

Definition at line 4123 of file options.c.

◆ def [2/4]

int server_option::def

Definition at line 4128 of file options.c.

◆ def [3/4]

char* server_option::def

Definition at line 4133 of file options.c.

◆ def [4/4]

unsigned server_option::def

Definition at line 4145 of file options.c.

◆ description

char* server_option::description

Definition at line 4111 of file options.c.

◆ desired_sent

bool server_option::desired_sent

Definition at line 4114 of file options.c.

◆ [struct]

struct { ... } server_option::enumerator

◆ help_text

char* server_option::help_text

Definition at line 4112 of file options.c.

◆ [struct]

struct { ... } server_option::integer

Referenced by server_option_int_set().

◆ is_changeable

bool server_option::is_changeable

Definition at line 4115 of file options.c.

◆ is_visible

bool server_option::is_visible

Definition at line 4116 of file options.c.

Referenced by server_option_next_valid().

◆ max

int server_option::max

Definition at line 4128 of file options.c.

Referenced by server_option_next_valid().

◆ min

int server_option::min

Definition at line 4128 of file options.c.

◆ name

char* server_option::name

Definition at line 4110 of file options.c.

◆ pretty_names

struct strvec* server_option::pretty_names

Definition at line 4140 of file options.c.

◆ setdef

enum setting_default_level server_option::setdef

Definition at line 4117 of file options.c.

◆ [struct]

struct { ... } server_option::string

◆ support_names

struct strvec* server_option::support_names

Definition at line 4139 of file options.c.

◆ value [1/4]

bool server_option::value

Definition at line 4122 of file options.c.

Referenced by desired_settable_options_update(), and resend_desired_settable_options().

◆ value [2/4]

int server_option::value

Definition at line 4127 of file options.c.

◆ value [3/4]

char* server_option::value

Definition at line 4132 of file options.c.

◆ value [4/4]

unsigned server_option::value

Definition at line 4144 of file options.c.