OpenTTD Source 20241224-master-gee860a5c8e
LabelObject< T > Struct Template Reference

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

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 25 of file labelmaps_sl.cpp.

Field Documentation

◆ label

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

Label of rail or road type.

Definition at line 26 of file labelmaps_sl.cpp.

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 27 of file labelmaps_sl.cpp.

Referenced by ROTTChunkHandler::Save().


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