6 class SCR_VehicleInventoryStorageManagerComponent : ScriptedInventoryStorageManagerComponent
9 protected override void FillInitialStorages(out array<BaseInventoryStorageComponent> storagesToAdd)
11 super.FillInitialStorages(storagesToAdd);
16 SlotManagerComponent slotManager = SlotManagerComponent.Cast(
GetOwner().FindComponent(SlotManagerComponent));
20 array<EntitySlotInfo> slots = {};
21 slotManager.GetSlotInfos(slots);
25 IEntity ent = info.GetAttachedEntity();
29 BaseInventoryStorageComponent invComp = BaseInventoryStorageComponent.Cast(ent.FindComponent(BaseInventoryStorageComponent));
32 storagesToAdd.Insert(invComp);