OpenTTD Source 20250312-master-gcdcc6b491d
NIFeature Struct Reference

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

Data Fields

std::span< const NIPropertyproperties
 The properties associated with this feature.
 
std::span< const NICallbackcallbacks
 The callbacks associated with this feature.
 
std::span< const NIVariablevariables
 The variables associated with this feature.
 
std::unique_ptr< const NIHelperhelper
 The class container all helper functions.
 

Detailed Description

Container for all information for a given feature.

Definition at line 216 of file newgrf_debug_gui.cpp.

Field Documentation

◆ callbacks

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

The callbacks associated with this feature.

Definition at line 218 of file newgrf_debug_gui.cpp.

◆ helper

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

The class container all helper functions.

Definition at line 220 of file newgrf_debug_gui.cpp.

Referenced by GetFeatureHelper(), and IsNewGRFInspectable().

◆ properties

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

The properties associated with this feature.

Definition at line 217 of file newgrf_debug_gui.cpp.

◆ variables

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

The variables associated with this feature.

Definition at line 219 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::OnClick().


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