Freeciv-3.3
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 4369 of file options.c.

Field Documentation

◆ [union]

union { ... } server_option

◆ base_option

struct option server_option::base_option

Definition at line 4370 of file options.c.

◆ [struct]

struct { ... } server_option::bitwise

◆ [struct]

struct { ... } server_option::boolean

◆ category

unsigned char server_option::category

Definition at line 4375 of file options.c.

◆ def [1/4]

bool server_option::def

Definition at line 4385 of file options.c.

◆ def [2/4]

int server_option::def

Definition at line 4390 of file options.c.

◆ def [3/4]

char* server_option::def

Definition at line 4395 of file options.c.

◆ def [4/4]

unsigned server_option::def

Definition at line 4407 of file options.c.

◆ description

char* server_option::description

Definition at line 4373 of file options.c.

◆ desired_sent

bool server_option::desired_sent

Definition at line 4376 of file options.c.

◆ [struct]

struct { ... } server_option::enumerator

◆ help_text

char* server_option::help_text

Definition at line 4374 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 4377 of file options.c.

◆ is_visible

bool server_option::is_visible

Definition at line 4378 of file options.c.

Referenced by server_option_next_valid().

◆ max

int server_option::max

Definition at line 4390 of file options.c.

Referenced by server_option_next_valid().

◆ min

int server_option::min

Definition at line 4390 of file options.c.

◆ name

char* server_option::name

Definition at line 4372 of file options.c.

◆ pretty_names

struct strvec* server_option::pretty_names

Definition at line 4402 of file options.c.

◆ setdef

enum setting_default_level server_option::setdef

Definition at line 4379 of file options.c.

◆ [struct]

struct { ... } server_option::string

◆ support_names

struct strvec* server_option::support_names

Definition at line 4401 of file options.c.

◆ value [1/4]

bool server_option::value

Definition at line 4384 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 4389 of file options.c.

◆ value [3/4]

char* server_option::value

Definition at line 4394 of file options.c.

◆ value [4/4]

unsigned server_option::value

Definition at line 4406 of file options.c.