forge/arma/client/addons/store/XEH_postInitClient.sqf
Jacob Schmidt 68218304ab Move store catalog service server-side and rebuild WebUI bundles
- Shift store catalog initialization from client addon to server addon
- Rebuild/minify bank, garage, org, and store WebUI site assets
- Update webui build tooling and npm metadata; ignore node_modules
2026-03-14 20:06:27 -05:00

17 lines
541 B
Plaintext

#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);