- 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
12 lines
445 B
Plaintext
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);
|