OpenTTD Source 20241224-master-gf74b0cf984
NICallback Struct Reference

Representation of the available callbacks with information on when they actually apply. More...

Data Fields

const char * name
 The human readable name of the callback.
 
NIOffsetProc * offset_proc
 Callback proc to get the actual variable address in memory.
 
uint8_t read_size
 The number of bytes (i.e. byte, word, dword etc) to read.
 
uint8_t cb_bit
 The bit that needs to be set for this callback to be enabled.
 
uint16_t cb_id
 The number of the callback.
 

Detailed Description

Representation of the available callbacks with information on when they actually apply.

Definition at line 101 of file newgrf_debug_gui.cpp.

Field Documentation

◆ cb_bit

uint8_t NICallback::cb_bit

The bit that needs to be set for this callback to be enabled.

Definition at line 105 of file newgrf_debug_gui.cpp.

◆ cb_id

uint16_t NICallback::cb_id

The number of the callback.

Definition at line 106 of file newgrf_debug_gui.cpp.

◆ name

const char* NICallback::name

The human readable name of the callback.

Definition at line 102 of file newgrf_debug_gui.cpp.

◆ offset_proc

NIOffsetProc* NICallback::offset_proc

Callback proc to get the actual variable address in memory.

Definition at line 103 of file newgrf_debug_gui.cpp.

◆ read_size

uint8_t NICallback::read_size

The number of bytes (i.e. byte, word, dword etc) to read.

Definition at line 104 of file newgrf_debug_gui.cpp.


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