Class: callback
Engine callback id registry.
Source
C++ class callback
Custom Constructor
callback
Constructors
Constructor
new callback(): callback;Returns
callback
Properties
action_animation
readonly static action_animation: 21;Engine enum value for callback.action_animation.
action_movement
readonly static action_movement: 18;Engine enum value for callback.action_movement.
action_object
readonly static action_object: 24;Engine enum value for callback.action_object.
action_particle
readonly static action_particle: 23;Engine enum value for callback.action_particle.
action_removed
readonly static action_removed: 20;Engine enum value for callback.action_removed.
action_sound
readonly static action_sound: 22;Engine enum value for callback.action_sound.
action_watch
readonly static action_watch: 19;Engine enum value for callback.action_watch.
actor_before_death
readonly static actor_before_death: 44;Engine enum value for callback.actor_before_death.
Since
OpenXRay 2015-02-02, a91ff26a
actor_sleep
readonly static actor_sleep: 25;Engine enum value for callback.actor_sleep.
article_info
readonly static article_info: 12;Engine enum value for callback.article_info.
controller_attitude_change
readonly static controller_attitude_change: 51;Engine enum value for callback.controller_attitude_change.
Since
OpenXRay 2022-02-13, 663133a3, PR #943
controller_hold
readonly static controller_hold: 50;Engine enum value for callback.controller_hold.
Since
OpenXRay 2022-01-01, 937fe9b6
controller_press
readonly static controller_press: 48;Engine enum value for callback.controller_press.
Since
OpenXRay 2022-01-01, 937fe9b6
controller_release
readonly static controller_release: 49;Engine enum value for callback.controller_release.
Since
OpenXRay 2022-01-01, 937fe9b6
death
readonly static death: 8;Engine enum value for callback.death.
helicopter_on_hit
readonly static helicopter_on_hit: 27;Engine enum value for callback.helicopter_on_hit.
helicopter_on_point
readonly static helicopter_on_point: 26;Engine enum value for callback.helicopter_on_point.
hit
readonly static hit: 16;Engine enum value for callback.hit.
hud_animation_end
readonly static hud_animation_end: 36;Engine enum value for callback.hud_animation_end.
Since
OpenXRay 2024-08-09, e08b8073
inventory_info
readonly static inventory_info: 11;Engine enum value for callback.inventory_info.
inventory_pda
readonly static inventory_pda: 10;Engine enum value for callback.inventory_pda.
item_to_belt
readonly static item_to_belt: 37;Engine enum value for callback.item_to_belt.
Since
OpenXRay 2024-08-09, e08b8073
item_to_ruck
readonly static item_to_ruck: 39;Engine enum value for callback.item_to_ruck.
Since
OpenXRay 2024-08-09, e08b8073
item_to_slot
readonly static item_to_slot: 38;Engine enum value for callback.item_to_slot.
Since
OpenXRay 2024-08-09, e08b8073
key_hold
readonly static key_hold: 125;Engine enum value for callback.key_hold.
Since
OpenXRay 2017-08-14, 713a513e
key_press
readonly static key_press: 123;Engine enum value for callback.key_press.
Since
OpenXRay 2017-08-14, 713a513e
key_release
readonly static key_release: 124;Engine enum value for callback.key_release.
Since
OpenXRay 2017-08-14, 713a513e
level_border_enter
readonly static level_border_enter: 7;Engine enum value for callback.level_border_enter.
level_border_exit
readonly static level_border_exit: 6;Engine enum value for callback.level_border_exit.
map_location_added
readonly static map_location_added: 14;Engine enum value for callback.map_location_added.
mouse_move
readonly static mouse_move: 127;Engine enum value for callback.mouse_move.
Since
OpenXRay 2017-08-14, 713a513e
mouse_wheel
readonly static mouse_wheel: 126;Engine enum value for callback.mouse_wheel.
Since
OpenXRay 2017-08-14, 713a513e
on_attach_vehicle
readonly static on_attach_vehicle: 45;Engine enum value for callback.on_attach_vehicle.
Since
OpenXRay 2015-06-13, d0323b3a
on_detach_vehicle
readonly static on_detach_vehicle: 46;Engine enum value for callback.on_detach_vehicle.
Since
OpenXRay 2015-06-13, d0323b3a
on_item_drop
readonly static on_item_drop: 29;Engine enum value for callback.on_item_drop.
on_item_take
readonly static on_item_take: 28;Engine enum value for callback.on_item_take.
on_key_hold
readonly static on_key_hold: 125;Alias for callback.key_hold.
Since
OpenXRay 2026-01-01, e3b0e3c5, PR #2028
on_key_press
readonly static on_key_press: 123;Alias for callback.key_press.
Since
OpenXRay 2026-01-01, e3b0e3c5, PR #2028
on_key_release
readonly static on_key_release: 124;Alias for callback.key_release.
Since
OpenXRay 2026-01-01, e3b0e3c5, PR #2028
on_mouse_move
readonly static on_mouse_move: 127;Alias for callback.mouse_move.
Since
OpenXRay 2026-01-01, e3b0e3c5, PR #2028
on_mouse_wheel
readonly static on_mouse_wheel: 126;Alias for callback.mouse_wheel.
Since
OpenXRay 2026-01-01, e3b0e3c5, PR #2028
on_use_vehicle
readonly static on_use_vehicle: 47;Engine enum value for callback.on_use_vehicle.
Since
OpenXRay 2015-06-13, d0323b3a
patrol_path_in_point
readonly static patrol_path_in_point: 9;Engine enum value for callback.patrol_path_in_point.
script_animation
readonly static script_animation: 30;Engine enum value for callback.script_animation.
sound
readonly static sound: 17;Engine enum value for callback.sound.
take_item_from_box
readonly static take_item_from_box: 34;Engine enum value for callback.take_item_from_box.
task_state
readonly static task_state: 13;Engine enum value for callback.task_state.
trade_perform_operation
readonly static trade_perform_operation: 3;Engine enum value for callback.trade_perform_operation.
trade_sell_buy_item
readonly static trade_sell_buy_item: 2;Engine enum value for callback.trade_sell_buy_item.
trade_start
readonly static trade_start: 0;Default x-ray 16 callbacks.
trade_stop
readonly static trade_stop: 1;Engine enum value for callback.trade_stop.
trader_global_anim_request
readonly static trader_global_anim_request: 31;Engine enum value for callback.trader_global_anim_request.
trader_head_anim_request
readonly static trader_head_anim_request: 32;Engine enum value for callback.trader_head_anim_request.
trader_sound_end
readonly static trader_sound_end: 33;Engine enum value for callback.trader_sound_end.
use_object
readonly static use_object: 15;Engine enum value for callback.use_object.
weapon_jammed
readonly static weapon_jammed: 42;Engine enum value for callback.weapon_jammed.
Since
OpenXRay 2015-06-17, 0fe21c14
weapon_magazine_empty
readonly static weapon_magazine_empty: 43;Engine enum value for callback.weapon_magazine_empty.
Since
OpenXRay 2024-08-09, e08b8073
weapon_no_ammo
readonly static weapon_no_ammo: 35;Engine enum value for callback.weapon_no_ammo.
weapon_zoom_in
readonly static weapon_zoom_in: 40;Engine enum value for callback.weapon_zoom_in.
Since
OpenXRay 2015-06-17, 0fe21c14
weapon_zoom_out
readonly static weapon_zoom_out: 41;Engine enum value for callback.weapon_zoom_out.
Since
OpenXRay 2015-06-17, 0fe21c14
zone_enter
readonly static zone_enter: 4;Engine enum value for callback.zone_enter.
zone_exit
readonly static zone_exit: 5;Engine enum value for callback.zone_exit.