Код
value("trade_start", int(GameObject::eTradeStart)),
value("trade_stop", int(GameObject::eTradeStop)),
value("trade_sell_buy_item", int(GameObject::eTradeSellBuyItem)),
value("trade_perform_operation", int(GameObject::eTradePerformTradeOperation)),
value("trader_global_anim_request", int(GameObject::eTraderGlobalAnimationRequest)),
value("trader_head_anim_request", int(GameObject::eTraderHeadAnimationRequest)),
value("trader_sound_end", int(GameObject::eTraderSoundEnd)),
value("zone_enter", int(GameObject::eZoneEnter)),
value("zone_exit", int(GameObject::eZoneExit)),
value("level_border_exit", int(GameObject::eExitLevelBorder)),
value("level_border_enter", int(GameObject::eEnterLevelBorder)),
value("death", int(GameObject::eDeath)),
value("patrol_path_in_point", int(GameObject::ePatrolPathInPoint)),
value("inventory_pda", int(GameObject::eInventoryPda)),
value("inventory_info", int(GameObject::eInventoryInfo)),
value("article_info", int(GameObject::eArticleInfo)),
value("use_object", int(GameObject::eUseObject)),
value("hit", int(GameObject::eHit)),
value("sound", int(GameObject::eSound)),
value("action_movement", int(GameObject::eActionTypeMovement)),
value("action_watch", int(GameObject::eActionTypeWatch)),
value("action_animation", int(GameObject::eActionTypeAnimation)),
value("action_sound", int(GameObject::eActionTypeSound)),
value("action_particle", int(GameObject::eActionTypeParticle)),
value("action_object", int(GameObject::eActionTypeObject)),
value("actor_sleep", int(GameObject::eActorSleep)),
value("helicopter_on_point", int(GameObject::eHelicopterOnPoint)),
value("helicopter_on_hit", int(GameObject::eHelicopterOnHit)),
value("on_item_take", int(GameObject::eOnItemTake)),
value("on_item_drop", int(GameObject::eOnItemDrop)),
value("script_animation", int(GameObject::eScriptAnimation)),
value("task_state", int(GameObject::eTaskStateChange)),
value("take_item_from_box", int(GameObject::eInvBoxItemTake)),
value("map_location_added", int(GameObject::eMapLocationAdded)),
value("on_item_in_slot", int(GameObject::eOnItemInSlot))
/************************************************** added by Ray Twitty (aka Shadows) START **************************************************/
// клавиатура/мышь
value("on_key_press", int(GameObject::eonKeyPress)),
value("on_key_release", int(GameObject::eOnKeyRelease)),
value("on_key_hold", int(GameObject::eOnKeyHold)),
value("on_mouse_move", int(GameObject::eonMouseMove)),
value("on_mouse_wheel", int(GameObject::eonMouseWheel)),
// инвентарь
value("on_item_belt", int(GameObject::eOnItemBelt)),
value("on_item_slot", int(GameObject::eOnItemSlot)),
value("on_item_ruck", int(GameObject::eOnItemRuck)),
// фонарь
value("switch_torch", int(GameObject::eSwitchTorch)),
/*************************************************** added by Ray Twitty (aka Shadows) END ***************************************************/
// Added by Cribbledirge Start
value("on_mouse_press", int(GameObject::eOnMousePress)),
value("on_mouse_release", int(GameObject::eOnMouseRelease)),
value("on_mouse_hold", int(GameObject::eOnMouseHold)),
value("on_actor_weapon_fire", int(GameObject::eOnActorWeaponFire)),
value("on_actor_weapon_reload", int(GameObject::eOnActorWeaponReload)),
value("on_actor_weapon_jammed", int(GameObject::eOnActorWeaponJammed)),
value("on_actor_weapon_empty", int(GameObject::eOnActorWeaponEmpty)),
value("on_actor_weapon_zoom_in", int(GameObject::eOnActorWeaponZoomIn)),
value("on_actor_weapon_zoom_out", int(GameObject::eOnActorWeaponZoomOut))