![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | BaseInventoryStorageComponentClass |
Functions | |
| BaseInventoryStorageComponentClass InventoryItemComponentClass | SetupSlotHooks (InventoryStorageSlot ownedSlot, int slotID) |
| void | ReleaseSlotHooks (InventoryStorageSlot ownedSlot) |
| proto external sealed bool | Contains (IEntity item) |
| proto external sealed InventoryStorageSlot | FindItemSlot (IEntity item) |
| proto external int | GetSlotsCount () |
| Returns the number of slots in this storage. | |
| proto external sealed InventoryStorageSlot | GetSlot (int slotID) |
| proto external sealed IEntity | Get (int slotID) |
| proto external sealed InventoryItemComponent | GetItem (int slotID) |
| proto external sealed int | GetAll (out notnull array< IEntity > outItems, bool includeChildComponents=true) |
| proto external sealed int | GetPriority () |
| proto external sealed EStoragePurpose | GetPurpose () |
| proto external InventoryStorageSlot | FindSuitableSlotForItem (IEntity item) |
| proto external bool | IsCompartment () |
| does current storage serves as a compartment of other storage | |
| proto external void | GetOwnedItems (out notnull array< InventoryItemComponent > outItemsComponents, bool includeChildComponents=true) |
| Fills array with attached items, optionally including items from child storage components. | |
| proto external bool | GetOwnedStorages (out notnull array< BaseInventoryStorageComponent > outStorages, int depth, bool includeHierarchy) |
| proto external float | GetWeightFromResource (ResourceName resourceName) |
| Get the weight of a prefab. | |
| proto external vector | GetMaxDimensionCapacity () |
| proto external float | GetMaxVolumeCapacity () |
| proto external float | GetOccupiedSpace () |
| Returns amount of space occupied by attached items. | |
| proto external bool | PerformDimensionValidation (IEntity item) |
| Performs dimension validation. | |
| proto external bool | PerformVolumeValidation (IEntity item, bool includeDimensionValidation=true) |
| Performs item volume and (optionally) dimension validation. | |
| proto external bool | PerformVolumeValidationForResource (ResourceName resourceName, bool includeDimensionValidation=true) |
| Performs prefab volume and (optionally) dimension validation. | |
| proto external int | GetEstimatedCountFitForItem (IEntity item) |
| Get an estimate of how many times the item can fit in the inventory. | |
| proto external int | GetEstimatedCountFitForResource (ResourceName resourceName) |
| Get an estimate of how many times the resource can fit in the inventory. | |
| event bool | OnOverrideCanStoreItem () |
| event bool | OnOverrideCanStoreResource () |
| event bool | OnOverrideCanRemoveItem () |
| event bool | OnOverrideCanReplaceItem () |
| void | OnAddedToSlot (IEntity item, int slotID) |
| void | OnRemovedFromSlot (IEntity item, int slotID) |
| InventoryStorageSlot | GetEmptySlotForItem (IEntity item) |
| Usually any slot that item can be inserted to. | |
| 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 | CanStoreResource (ResourceName resourceName, int slotID) |
| Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant. | |
| event bool | CanRemoveItem (IEntity item) |
| Implemented logics for can remove here,. | |
| event bool | CanReplaceItem (IEntity nextItem, int slotID) |
| Implemented logics for can replace to nextItem at slotID,. | |
| int | GetSlotsCountScr () |
| Should Return slots count. | |
| InventoryStorageSlot | GetSlotScr (int slotID) |
| Should Return slot for specified id. | |
| ref BaseInventoryTask | RemoveItem (IEntity item) |
| Called locally per instance, implement remove logics here. | |
| ref BaseInventoryTask | InsertItem (IEntity item, int slotID, bool justSpawned) |
| bool | ShouldPreviewAttachedItems () |
| Will be called to estimate if storage children has to be included in preview. | |
| void | OnManagerChanged (InventoryStorageManagerComponent manager) |
| void | UpdateUI () |
| Virtual method for updating the UI when an item is removed/added. | |