OpenTTD Source: NIFeature Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
NIFeature Struct Reference

Container for all information for a given feature. More...

## Data Fields
std::span< const NIProperty > | properties
| The properties associated with this feature.
std::span< const NICallback > | callbacks
| The callbacks associated with this feature.
std::span< const NIVariable > | variables
| The variables associated with this feature.
std::unique_ptr< const NIHelper > | helper
| The class container all helper functions.

## Detailed Description

Container for all information for a given feature.

Definition at line 215 of file newgrf_debug_gui.cpp.

## Field Documentation

## ◆ callbacks

std::span<const NICallback> NIFeature::callbacks

The callbacks associated with this feature.

Definition at line 217 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

## ◆ helper

std::unique_ptr<const NIHelper> NIFeature::helper

The class container all helper functions.

Definition at line 219 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget(), GetFeatureHelper(), and IsNewGRFInspectable().

## ◆ properties

std::span<const NIProperty> NIFeature::properties

The properties associated with this feature.

Definition at line 216 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

## ◆ variables

std::span<const NIVariable> NIFeature::variables

The variables associated with this feature.

Definition at line 218 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget(), and NewGRFInspectWindow::OnClick().

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

- src/newgrf_debug_gui.cpp