OpenTTD Source: CmdStruct Struct Reference

OpenTTD Source 15.3

Data Fields
CmdStruct Struct Reference

## Data Fields
std::string_view | cmd
ParseCmdProc | proc
char32_t | value
uint8_t | consumes
std::optional< size_t > | default_plural_offset
CmdFlags | flags

## Detailed Description

Definition at line 22 of file strgen_tables.h.

## Field Documentation

## ◆ cmd

std::string_view CmdStruct::cmd

Definition at line 23 of file strgen_tables.h.

## ◆ consumes

uint8_t CmdStruct::consumes

Definition at line 26 of file strgen_tables.h.

## ◆ default_plural_offset

std::optional<size_t> CmdStruct::default_plural_offset

Definition at line 27 of file strgen_tables.h.

## ◆ flags

CmdFlags CmdStruct::flags

Definition at line 28 of file strgen_tables.h.

## ◆ proc

ParseCmdProc CmdStruct::proc

Definition at line 24 of file strgen_tables.h.

## ◆ value

char32_t CmdStruct::value

Definition at line 25 of file strgen_tables.h.

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

- src/table/strgen_tables.h