OpenTTD Source: NewGRFSpecBase< Tindex > Struct Template Reference

OpenTTD Source 15.0-RC2

Data Fields
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.

Referenced by BuildAirportWindow::DrawWidget(), and BuildAirportWindow::SelectFirstAvailableAirport().

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

- src/newgrf_class.h