Skip to content

Class: callback

Engine callback id registry.

Source

C++ class callback

Custom Constructor

callback

Constructors

Constructor

ts
new callback(): callback;

Returns

callback

Properties

action_animation

ts
readonly static action_animation: 21;

Engine enum value for callback.action_animation.


action_movement

ts
readonly static action_movement: 18;

Engine enum value for callback.action_movement.


action_object

ts
readonly static action_object: 24;

Engine enum value for callback.action_object.


action_particle

ts
readonly static action_particle: 23;

Engine enum value for callback.action_particle.


action_removed

ts
readonly static action_removed: 20;

Engine enum value for callback.action_removed.


action_sound

ts
readonly static action_sound: 22;

Engine enum value for callback.action_sound.


action_watch

ts
readonly static action_watch: 19;

Engine enum value for callback.action_watch.


actor_before_death

ts
readonly static actor_before_death: 44;

Engine enum value for callback.actor_before_death.

Since

OpenXRay 2015-02-02, a91ff26a


actor_sleep

ts
readonly static actor_sleep: 25;

Engine enum value for callback.actor_sleep.


article_info

ts
readonly static article_info: 12;

Engine enum value for callback.article_info.


controller_attitude_change

ts
readonly static controller_attitude_change: 51;

Engine enum value for callback.controller_attitude_change.

Since

OpenXRay 2022-02-13, 663133a3, PR #943


controller_hold

ts
readonly static controller_hold: 50;

Engine enum value for callback.controller_hold.

Since

OpenXRay 2022-01-01, 937fe9b6


controller_press

ts
readonly static controller_press: 48;

Engine enum value for callback.controller_press.

Since

OpenXRay 2022-01-01, 937fe9b6


controller_release

ts
readonly static controller_release: 49;

Engine enum value for callback.controller_release.

Since

OpenXRay 2022-01-01, 937fe9b6


death

ts
readonly static death: 8;

Engine enum value for callback.death.


helicopter_on_hit

ts
readonly static helicopter_on_hit: 27;

Engine enum value for callback.helicopter_on_hit.


helicopter_on_point

ts
readonly static helicopter_on_point: 26;

Engine enum value for callback.helicopter_on_point.


hit

ts
readonly static hit: 16;

Engine enum value for callback.hit.


hud_animation_end

ts
readonly static hud_animation_end: 36;

Engine enum value for callback.hud_animation_end.

Since

OpenXRay 2024-08-09, e08b8073


inventory_info

ts
readonly static inventory_info: 11;

Engine enum value for callback.inventory_info.


inventory_pda

ts
readonly static inventory_pda: 10;

Engine enum value for callback.inventory_pda.


item_to_belt

ts
readonly static item_to_belt: 37;

Engine enum value for callback.item_to_belt.

Since

OpenXRay 2024-08-09, e08b8073


item_to_ruck

ts
readonly static item_to_ruck: 39;

Engine enum value for callback.item_to_ruck.

Since

OpenXRay 2024-08-09, e08b8073


item_to_slot

ts
readonly static item_to_slot: 38;

Engine enum value for callback.item_to_slot.

Since

OpenXRay 2024-08-09, e08b8073


key_hold

ts
readonly static key_hold: 125;

Engine enum value for callback.key_hold.

Since

OpenXRay 2017-08-14, 713a513e


key_press

ts
readonly static key_press: 123;

Engine enum value for callback.key_press.

Since

OpenXRay 2017-08-14, 713a513e


key_release

ts
readonly static key_release: 124;

Engine enum value for callback.key_release.

Since

OpenXRay 2017-08-14, 713a513e


level_border_enter

ts
readonly static level_border_enter: 7;

Engine enum value for callback.level_border_enter.


level_border_exit

ts
readonly static level_border_exit: 6;

Engine enum value for callback.level_border_exit.


map_location_added

ts
readonly static map_location_added: 14;

Engine enum value for callback.map_location_added.


mouse_move

ts
readonly static mouse_move: 127;

Engine enum value for callback.mouse_move.

Since

OpenXRay 2017-08-14, 713a513e


mouse_wheel

ts
readonly static mouse_wheel: 126;

Engine enum value for callback.mouse_wheel.

Since

OpenXRay 2017-08-14, 713a513e


on_attach_vehicle

ts
readonly static on_attach_vehicle: 45;

Engine enum value for callback.on_attach_vehicle.

Since

OpenXRay 2015-06-13, d0323b3a


on_detach_vehicle

ts
readonly static on_detach_vehicle: 46;

Engine enum value for callback.on_detach_vehicle.

Since

OpenXRay 2015-06-13, d0323b3a


on_item_drop

ts
readonly static on_item_drop: 29;

Engine enum value for callback.on_item_drop.


on_item_take

ts
readonly static on_item_take: 28;

Engine enum value for callback.on_item_take.


on_key_hold

ts
readonly static on_key_hold: 125;

Alias for callback.key_hold.

Since

OpenXRay 2026-01-01, e3b0e3c5, PR #2028


on_key_press

ts
readonly static on_key_press: 123;

Alias for callback.key_press.

Since

OpenXRay 2026-01-01, e3b0e3c5, PR #2028


on_key_release

ts
readonly static on_key_release: 124;

Alias for callback.key_release.

Since

OpenXRay 2026-01-01, e3b0e3c5, PR #2028


on_mouse_move

ts
readonly static on_mouse_move: 127;

Alias for callback.mouse_move.

Since

OpenXRay 2026-01-01, e3b0e3c5, PR #2028


on_mouse_wheel

ts
readonly static on_mouse_wheel: 126;

Alias for callback.mouse_wheel.

Since

OpenXRay 2026-01-01, e3b0e3c5, PR #2028


on_use_vehicle

ts
readonly static on_use_vehicle: 47;

Engine enum value for callback.on_use_vehicle.

Since

OpenXRay 2015-06-13, d0323b3a


patrol_path_in_point

ts
readonly static patrol_path_in_point: 9;

Engine enum value for callback.patrol_path_in_point.


script_animation

ts
readonly static script_animation: 30;

Engine enum value for callback.script_animation.


sound

ts
readonly static sound: 17;

Engine enum value for callback.sound.


take_item_from_box

ts
readonly static take_item_from_box: 34;

Engine enum value for callback.take_item_from_box.


task_state

ts
readonly static task_state: 13;

Engine enum value for callback.task_state.


trade_perform_operation

ts
readonly static trade_perform_operation: 3;

Engine enum value for callback.trade_perform_operation.


trade_sell_buy_item

ts
readonly static trade_sell_buy_item: 2;

Engine enum value for callback.trade_sell_buy_item.


trade_start

ts
readonly static trade_start: 0;

Default x-ray 16 callbacks.


trade_stop

ts
readonly static trade_stop: 1;

Engine enum value for callback.trade_stop.


trader_global_anim_request

ts
readonly static trader_global_anim_request: 31;

Engine enum value for callback.trader_global_anim_request.


trader_head_anim_request

ts
readonly static trader_head_anim_request: 32;

Engine enum value for callback.trader_head_anim_request.


trader_sound_end

ts
readonly static trader_sound_end: 33;

Engine enum value for callback.trader_sound_end.


use_object

ts
readonly static use_object: 15;

Engine enum value for callback.use_object.


weapon_jammed

ts
readonly static weapon_jammed: 42;

Engine enum value for callback.weapon_jammed.

Since

OpenXRay 2015-06-17, 0fe21c14


weapon_magazine_empty

ts
readonly static weapon_magazine_empty: 43;

Engine enum value for callback.weapon_magazine_empty.

Since

OpenXRay 2024-08-09, e08b8073


weapon_no_ammo

ts
readonly static weapon_no_ammo: 35;

Engine enum value for callback.weapon_no_ammo.


weapon_zoom_in

ts
readonly static weapon_zoom_in: 40;

Engine enum value for callback.weapon_zoom_in.

Since

OpenXRay 2015-06-17, 0fe21c14


weapon_zoom_out

ts
readonly static weapon_zoom_out: 41;

Engine enum value for callback.weapon_zoom_out.

Since

OpenXRay 2015-06-17, 0fe21c14


zone_enter

ts
readonly static zone_enter: 4;

Engine enum value for callback.zone_enter.


zone_exit

ts
readonly static zone_exit: 5;

Engine enum value for callback.zone_exit.