OpenTTD Source 20250206-master-g6089ed8059
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 334 of file newgrf_commons.h.

Field Documentation

◆ label

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

Label of rail or road type.

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

Referenced by ROTTChunkHandler::Save().


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