OpenTTD Source 20250518-master-g9bbc525e53
NIProperty Struct Reference

Representation of the data from a NewGRF property. More...

Data Fields

std::string_view name
 A (human readable) name for the property.
 
NIReadProc * read_proc
 Callback proc to get the actual variable from memory.
 
uint8_t prop
 The number of the property.
 
uint8_t type
 

Detailed Description

Representation of the data from a NewGRF property.

Definition at line 92 of file newgrf_debug_gui.cpp.

Field Documentation

◆ name

std::string_view NIProperty::name

A (human readable) name for the property.

Definition at line 93 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

◆ prop

uint8_t NIProperty::prop

The number of the property.

Definition at line 95 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

◆ read_proc

NIReadProc* NIProperty::read_proc

Callback proc to get the actual variable from memory.

Definition at line 94 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

◆ type

uint8_t NIProperty::type

Definition at line 96 of file newgrf_debug_gui.cpp.


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