|
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the documentation of this file.
33 proto external sealed
bool Contains(IEntity item);
53 proto external sealed IEntity
Get(
int slotID);
55 proto external sealed
int GetAll(out notnull array<IEntity> outItems);
66 proto external
void GetOwnedItems(out notnull array<InventoryItemComponent> outItemsComponents);
75 proto external
bool GetOwnedStorages(out notnull array<BaseInventoryStorageComponent> outStorages,
int depth,
bool includeHierarchy);
115 event protected void OnAddedToSlot(IEntity item,
int slotID);
proto external bool PerformDimensionValidation(IEntity item)
performs dimension validation.
event bool CanStoreItem(IEntity item, int slotID)
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
event bool OnOverrideCanReplaceItem()
event bool CanReplaceItem(IEntity nextItem, int slotID)
Implemented logics for can replace to nextItem at slotID,.
proto external void GetOwnedItems(out notnull array< InventoryItemComponent > outItemsComponents)
Fills array with attached items including items from storage compartments.
event protected void OnRemovedFromSlot(IEntity item, int slotID)
event protected void OnManagerChanged(InventoryStorageManagerComponent manager)
event bool CanStoreResource(ResourceName resourceName, int slotID)
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
BaseInventoryStorageComponentClass InventoryItemComponentClass SetupSlotHooks(InventoryStorageSlot ownedSlot, int slotID)
proto external int GetSlotsCount()
Returns the number of slots in this storage.
event bool OnOverrideCanStoreItem()
event protected int GetSlotsCountScr()
Should Return slots count.
proto external sealed int GetPriority()
proto external sealed protected void ReleaseSlotHooks(InventoryStorageSlot ownedSlot)
proto external bool IsCompartment()
does current storage serves as a compartment of other storage
event bool CanRemoveItem(IEntity item)
Implemented logics for can remove here,.
proto external InventoryStorageSlot FindSuitableSlotForItem(IEntity item)
event protected InventoryStorageSlot GetSlotScr(int slotID)
Should Return slot for specified id.
event protected void OnAddedToSlot(IEntity item, int slotID)
event protected ref BaseInventoryTask InsertItem(IEntity item, int slotID)
Called locally per instance, implement insertion logics here, Manager will provide slotID of -1 in ca...
proto external sealed InventoryStorageSlot FindItemSlot(IEntity item)
event protected ref BaseInventoryTask RemoveItem(IEntity item)
Called locally per instance, implement remove logics here.
event bool OnOverrideCanStoreResource()
event protected bool ShouldPreviewAttachedItems()
Will be called to estimate if storage children has to be included in preview.
proto external sealed int GetAll(out notnull array< IEntity > outItems)
proto external bool PerformVolumeValidation(IEntity item, bool includeDimensionValidation=true)
performs volume and item dimension validation.
proto external sealed bool Contains(IEntity item)
proto external sealed IEntity Get(int slotID)
event bool OnOverrideCanRemoveItem()
proto external sealed InventoryStorageSlot GetSlot(int slotID)
proto external bool PerformVolumeAndDimensionValidationForResource(ResourceName resourceName, bool includeDimensionValidation=true)
performs volume and item dimension validation.
proto external float GetWeightFromResource(ResourceName resourceName)
get the weight of a prefab
proto external float GetOccupiedSpace()
returns amount of space occupied by attached items
event protected InventoryStorageSlot GetEmptySlotForItem(IEntity item)
Usually any slot that item can be inserted to.
proto external float GetMaxVolumeCapacity()
proto external vector GetMaxDimensionCapacity()
proto external bool GetOwnedStorages(out notnull array< BaseInventoryStorageComponent > outStorages, int depth, bool includeHierarchy)
proto external sealed EStoragePurpose GetPurpose()