OpenTTD Source: LabelObject< T > Struct Template Reference

OpenTTD Source 15.0-RC2

Data Fields
LabelObject< T > Struct Template Reference

Container for a label for rail or road type conversion. More...

`#include <newgrf_commons.h>`

## Data Fields
T | label = {}
| Label of rail or road type.
uint8_t | subtype = 0
| Subtype of type (road or tram).

## Detailed Description

template<typename T>
struct LabelObject< T >

Container for a label for rail or road type conversion.

Definition at line 474 of file newgrf_commons.h.

## Field Documentation

## ◆ label

template<typename T >

T LabelObject< T >::label = {}

Label of rail or road type.

Definition at line 475 of file newgrf_commons.h.

Referenced by RAILChunkHandler::Save(), and ROTTChunkHandler::Save().

## ◆ subtype

template<typename T >

uint8_t LabelObject< T >::subtype = 0

Subtype of type (road or tram).

Definition at line 476 of file newgrf_commons.h.

Referenced by ROTTChunkHandler::Save().

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

- src/newgrf_commons.h