From 38bfcdf38f0249a8ad244b1168088c8cc0926ca4 Mon Sep 17 00:00:00 2001 From: Salluci <69561145+Salluci@users.noreply.github.com> Date: Wed, 8 Sep 2021 09:38:29 -0300 Subject: [PATCH] Add support for gestureChanged and gestureDone events --- addons/xeh/script_component.hpp | 4 +++- addons/xeh/script_xeh.hpp | 8 ++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/addons/xeh/script_component.hpp b/addons/xeh/script_component.hpp index 6c25837b14..fb99a60563 100644 --- a/addons/xeh/script_component.hpp +++ b/addons/xeh/script_component.hpp @@ -91,4 +91,6 @@ "TurnOut", \ "Deleted", \ "Disassembled", \ - "Suppressed" + "Suppressed", \ + "GestureChanged", \ + "GestureDone" diff --git a/addons/xeh/script_xeh.hpp b/addons/xeh/script_xeh.hpp index 53d6c27859..2eba00016f 100644 --- a/addons/xeh/script_xeh.hpp +++ b/addons/xeh/script_xeh.hpp @@ -56,7 +56,9 @@ turnIn = "call cba_xeh_fnc_turnIn"; \ turnOut = "call cba_xeh_fnc_turnOut"; \ deleted = "call cba_xeh_fnc_deleted"; \ disassembled = "call cba_xeh_fnc_disassembled"; \ -Suppressed = "call cba_xeh_fnc_Suppressed"; +Suppressed = "call cba_xeh_fnc_Suppressed"; \ +gestureChanged = "call cba_xeh_fnc_gestureChanged"; \ +gestureDone = "call cba_xeh_fnc_gestureDone"; /* MACRO: DELETE_EVENTHANDLERS @@ -111,4 +113,6 @@ turnIn = ""; \ turnOut = ""; \ deleted = ""; \ disassembled = ""; \ -Suppressed = ""; +Suppressed = ""; \ +gestureChanged = ""; \ +gestureDone = ""