OpenTTD Source  20241108-master-g80f628063a
OptionData Struct Reference

Data of an option. More...

#include <getoptdata.h>

Data Fields

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

Detailed Description

Data of an option.

Definition at line 21 of file getoptdata.h.


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