OpenTTD Source 20250312-master-gcdcc6b491d
|
Representation of the available callbacks with information on when they actually apply. More...
Data Fields | |
std::string_view | 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. | |
std::variant< std::monostate, VehicleCallbackMask, StationCallbackMask, RoadStopCallbackMask, HouseCallbackMask, CanalCallbackMask, CargoCallbackMask, IndustryCallbackMask, IndustryTileCallbackMask, ObjectCallbackMask, AirportTileCallbackMask > | cb_bit |
The bit that needs to be set for this callback to be enabled. | |
uint16_t | cb_id |
The number of the callback. | |
Representation of the available callbacks with information on when they actually apply.
Definition at line 104 of file newgrf_debug_gui.cpp.
std::variant< std::monostate, VehicleCallbackMask, StationCallbackMask, RoadStopCallbackMask, HouseCallbackMask, CanalCallbackMask, CargoCallbackMask, IndustryCallbackMask, IndustryTileCallbackMask, ObjectCallbackMask, AirportTileCallbackMask> NICallback::cb_bit |
The bit that needs to be set for this callback to be enabled.
Definition at line 119 of file newgrf_debug_gui.cpp.
uint16_t NICallback::cb_id |
The number of the callback.
Definition at line 120 of file newgrf_debug_gui.cpp.
std::string_view NICallback::name |
The human readable name of the callback.
Definition at line 105 of file newgrf_debug_gui.cpp.
NIOffsetProc* NICallback::offset_proc |
Callback proc to get the actual variable address in memory.
Definition at line 106 of file newgrf_debug_gui.cpp.
uint8_t NICallback::read_size |
The number of bytes (i.e. byte, word, dword etc) to read.
Definition at line 107 of file newgrf_debug_gui.cpp.