OpenTTD Source 20250205-master-gfd85ab1e2c
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 233 of file newgrf_debug_gui.cpp.

Field Documentation

◆ callbacks

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

The callbacks associated with this feature.

Definition at line 235 of file newgrf_debug_gui.cpp.

◆ helper

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

The class container all helper functions.

Definition at line 237 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 234 of file newgrf_debug_gui.cpp.

◆ variables

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

The variables associated with this feature.

Definition at line 236 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::OnClick().


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