OpenTTD Source 20241224-master-gf74b0cf984
NewGRFSpecBase< Tindex > Struct Template Reference

Data Fields

Tindex class_index
 Class index of this spec, invalid until class is allocated.
 
uint16_t index
 Index within class of this spec, invalid until inserted into class.
 

Detailed Description

template<typename Tindex>
struct NewGRFSpecBase< Tindex >

Definition at line 17 of file newgrf_class.h.

Field Documentation

◆ class_index

template<typename Tindex >
Tindex NewGRFSpecBase< Tindex >::class_index

Class index of this spec, invalid until class is allocated.

Definition at line 18 of file newgrf_class.h.

Referenced by ObjectPickerCallbacks::FillUsedItems().

◆ index

template<typename Tindex >
uint16_t NewGRFSpecBase< Tindex >::index

Index within class of this spec, invalid until inserted into class.

Definition at line 19 of file newgrf_class.h.


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