OpenTTD Source  14.0-beta3
OptionData Struct Reference

Data of an option. More...

#include <getoptdata.h>

Data Fields

byte id
 Unique identification of this option data, often the same as shortname.
 
char shortname
 Short option letter if available, else use '\0'.
 
uint16_t flags
 Option data flags. More...
 
const char * longname
 Long option name including '-'/'–' prefix, use nullptr if not available.
 

Detailed Description

Data of an option.

Definition at line 22 of file getoptdata.h.

Field Documentation

◆ flags

uint16_t OptionData::flags

Option data flags.

See also
OptionDataFlags

Definition at line 25 of file getoptdata.h.

Referenced by GetOptData::GetOpt().


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