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