forge/arma/client/addons/store/XEH_postInitClient.sqf
Jacob Schmidt e15d4b3066 Introduce shared web UI runtime and migrate org/store bridges
- add common ForgeWebUI runtime, site loader, and SQF WebUI bridge base declarations
- migrate org and store web UIs to src-driven bundles and new bridge/bootstrap flow
- update addon configs/prep hooks and document the shared CT_WEBBROWSER framework
2026-03-14 00:40:34 -05:00

12 lines
445 B
Plaintext

#include "script_component.hpp"
if (isNil QGVAR(StoreCatalogService)) then { call FUNC(initStoreCatalogService); };
if (isNil QGVAR(StoreClass)) then { call FUNC(initStoreClass); };
if (isNil QGVAR(StoreUIBridge)) then { call FUNC(initStoreUIBridge); };
[QGVAR(responseCheckout), {
params [["_payload", createHashMap, [createHashMap]]];
GVAR(StoreUIBridge) call ["handleCheckoutResponse", [_payload]];
}] call CFUNC(addEventHandler);