- Add checkout request/response bridge and workspace re-hydration in store UI - Implement server-side checkout stores for charging bank/cash and granting locker/VA items - Normalize catalog/cart payload categories and fix locker VA sync event naming
45 lines
1.0 KiB
Plaintext
45 lines
1.0 KiB
Plaintext
#include "..\script_component.hpp"
|
|
|
|
/*
|
|
* Author: J.Schmidt
|
|
* Initializes all stores in the correct order.
|
|
*
|
|
* Arguments:
|
|
* None
|
|
*
|
|
* Return Value:
|
|
* None
|
|
*
|
|
* Example:
|
|
* call forge_server_main_fnc_initStores;
|
|
*
|
|
* Public: No
|
|
*/
|
|
|
|
// Base
|
|
if (isNil QEGVAR(common,BaseStore)) then { call EFUNC(common,baseStore); };
|
|
|
|
// Actor
|
|
if (isNil QEGVAR(actor,ActorStore)) then { call EFUNC(actor,initActorStore); };
|
|
|
|
// Bank
|
|
if (isNil QEGVAR(bank,BankStore)) then { call EFUNC(bank,initBankStore); };
|
|
|
|
// Garage
|
|
if (isNil QEGVAR(garage,GarageStore)) then { call EFUNC(garage,initGarageStore); };
|
|
|
|
// VGarage
|
|
if (isNil QEGVAR(garage,VGarageStore)) then { call EFUNC(garage,initVGStore); };
|
|
|
|
// Locker
|
|
if (isNil QEGVAR(locker,LockerStore)) then { call EFUNC(locker,initLockerStore); };
|
|
|
|
// VArsenal
|
|
if (isNil QEGVAR(locker,VAStore)) then { call EFUNC(locker,initVAStore); };
|
|
|
|
// Org
|
|
if (isNil QEGVAR(org,OrgStore)) then { call EFUNC(org,initOrgStore); };
|
|
|
|
// Store
|
|
if (isNil QEGVAR(store,StoreStore)) then { call EFUNC(store,initStoreStore); };
|