OpenTTD Source 20260206-master-g4d4e37dbf1
SpecMapping< T > Struct Template Reference

Data Fields

const T * spec = nullptr
 Custom spec.
uint32_t grfid = 0
 GRF ID of this custom spec.
uint16_t localidx = 0
 Local ID within GRF of this custom spec.

Detailed Description

template<typename T>
struct SpecMapping< T >

Definition at line 23 of file base_station_base.h.

Field Documentation

◆ grfid

template<typename T>
uint32_t SpecMapping< T >::grfid = 0

GRF ID of this custom spec.

Definition at line 25 of file base_station_base.h.

◆ localidx

template<typename T>
uint16_t SpecMapping< T >::localidx = 0

Local ID within GRF of this custom spec.

Definition at line 26 of file base_station_base.h.

◆ spec

template<typename T>
const T* SpecMapping< T >::spec = nullptr

Custom spec.

Definition at line 24 of file base_station_base.h.


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