OpenTTD Source 20250312-master-gcdcc6b491d
LabelObject< T > Struct Template Reference

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

#include <newgrf_commons.h>

Data Fields

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 351 of file newgrf_commons.h.

Field Documentation

◆ label

template<typename T >
T LabelObject< T >::label = {}

Label of rail or road type.

Definition at line 352 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 353 of file newgrf_commons.h.

Referenced by ROTTChunkHandler::Save().


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