#include "script_component.hpp" if (isNil QGVAR(StoreClass)) then { call FUNC(initClass); }; if (isNil QGVAR(StoreUIBridge)) then { call FUNC(initUIBridge); }; [QGVAR(responseCategory), { params [["_payload", createHashMap, [createHashMap]]]; GVAR(StoreUIBridge) call ["handleCategoryResponse", [_payload]]; }] call CFUNC(addEventHandler); [QGVAR(responseCheckout), { params [["_payload", createHashMap, [createHashMap]]]; GVAR(StoreUIBridge) call ["handleCheckoutResponse", [_payload]]; }] call CFUNC(addEventHandler);