OpenTTD Source 20250428-master-ga5578166bb
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.
 
NIOffsetProc * offset_proc
 Callback proc to get the actual variable address in memory.
 
uint8_t read_size
 Number of bytes (i.e. byte, word, dword etc)
 
uint8_t prop
 The number of the property.
 
uint8_t type
 

Detailed Description

Representation of the data from a NewGRF property.

Definition at line 91 of file newgrf_debug_gui.cpp.

Field Documentation

◆ name

std::string_view NIProperty::name

A (human readable) name for the property.

Definition at line 92 of file newgrf_debug_gui.cpp.

Referenced by NewGRFInspectWindow::DrawMainPanelWidget().

◆ offset_proc

NIOffsetProc* NIProperty::offset_proc

Callback proc to get the actual variable address in memory.

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_size

uint8_t NIProperty::read_size

Number of bytes (i.e. byte, word, dword etc)

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: