OpenTTD Source: NIProperty Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
NIProperty Struct Reference

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

## Data Fields
const char * | 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 88 of file newgrf_debug_gui.cpp.

## Field Documentation

## ◆ name

const char* NIProperty::name

A (human readable) name for the property.

Definition at line 89 of file newgrf_debug_gui.cpp.

## ◆ offset_proc

NIOffsetProc* NIProperty::offset_proc

Callback proc to get the actual variable address in memory.

Definition at line 90 of file newgrf_debug_gui.cpp.

## ◆ prop

uint8_t NIProperty::prop

The number of the property.

Definition at line 92 of file newgrf_debug_gui.cpp.

## ◆ read_size

uint8_t NIProperty::read_size

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

Definition at line 91 of file newgrf_debug_gui.cpp.

## ◆ type

uint8_t NIProperty::type

Definition at line 93 of file newgrf_debug_gui.cpp.

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

- src/newgrf_debug_gui.cpp