![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
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. | |
| EquipedLoadoutStorageComponentClass ScriptedBaseInventoryStorageComponentClass | GetSlotFromArea (typename pAreaType) |
| Get the first slot that satisfies the condition : "slot area type is inherited by pAreaType". | |
| proto external int | GetSlotsFromArea (typename pAreaType, out array< ref LoadoutSlotInfo > outSlots) |
| proto external IEntity | GetClothFromArea (typename pAreaType) |
| Get the first cloth entity that satisfies the condition : "slot area type is inherited by pAreaType AND slot has attached entity". | |
| ItemPreviewManagerEntityClass GenericEntityClass | SetPreviewItem (ItemPreviewWidget widget, IEntity item, PreviewRenderAttributes attributes=null, bool forceRefresh=false, int maxLifeTimeMS=30000) |
| proto external void | SetPreviewItemFromPrefab (ItemPreviewWidget widget, ResourceName prefabResource, PreviewRenderAttributes attributes=null, bool forceRefresh=false, int maxLifeTimeMS=30000) |
| proto external IEntity | ResolvePreviewEntityForPrefab (ResourceName prefabResource) |
| enum EStoragePurpose |
Definition at line 12 of file EStoragePurpose.c.
| enum EStoragePurpose |
Definition at line 12 of file EStoragePurpose.c.
Implemented logics for can remove here,.
Definition at line 138 of file BaseInventoryStorageComponent.c.
Implemented logics for can replace to nextItem at slotID,.
Definition at line 140 of file BaseInventoryStorageComponent.c.
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
Definition at line 134 of file BaseInventoryStorageComponent.c.
|
protected |
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
Definition at line 136 of file BaseInventoryStorageComponent.c.
Check if an item is inside this storage.
| item | Item which meeds to be searched. |
|
protected |
Find the item slot.
| item | Item which meeds to be searched. |
|
protected |
Get item entity at slot ID.
| slotID | Slot ID |
|
protected |
Get the first cloth entity that satisfies the condition : "slot area type is inherited by pAreaType AND slot has attached entity".
|
protected |
Usually any slot that item can be inserted to.
Definition at line 17 of file SCR_HandSlotStorageComponent.c.
Get an estimate of how many times the item can fit in the inventory.
|
protected |
Get an estimate of how many times the resource can fit in the inventory.
|
protected |
Get item at slot ID.
| slotID | Slot ID |
|
protected |
|
protected |
|
protected |
Returns amount of space occupied by attached items.
|
protected |
Fills array with attached items, optionally including items from child storage components.
|
protected |
Fills array with attached storages up to provided hierarchy depth for every top level storage depth with even number will reach compartments level and odd will reach storages attached to slots (including compartment slots)
| outStorages | - array to be filled with storages |
| depth | - at what depth level should be storages collected |
| includeHierarchy | - should storages from upper depth level be included in array |
|
protected |
Get evaluation priority.
Definition at line 247 of file SCR_BaseManualCameraComponent.c.
|
protected |
|
protected |
Return slot for specified id
| slotID | Slot ID. |
| EquipedLoadoutStorageComponentClass ScriptedBaseInventoryStorageComponentClass GetSlotFromArea | ( | typename pAreaType | ) |
Get the first slot that satisfies the condition : "slot area type is inherited by pAreaType".
|
protected |
Returns the number of slots in this storage.
|
protected |
Should Return slots count.
|
protected |
Should Return slot for specified id.
| proto external int GetSlotsFromArea | ( | typename pAreaType | , |
| out array< ref LoadoutSlotInfo > | outSlots ) |
Get the slots that satisfies the condition : "slot area type is inherited by pAreaType".
| outSlots | Array where slots will be added. |
|
protected |
Get the weight of a prefab.
|
protected |
Called locally per instance, implement insertion logics here, Manager will provide slotID of -1 in case slot is irrelevant. justSpawned parameter says that we are inserting the item right after it was spawned and when this is true on server, it usually means that the owner of the slot(f.e. client character) might not have the entity streamed-in when this insertion happens.
|
protected |
does current storage serves as a compartment of other storage
Will be called when item is added to slot. IMPORTANT* This is called after the C++ event.
Definition at line 96 of file SCR_HandSlotStorageComponent.c.
|
protected |
Will be called when manager is changed, manager can be null if there is no manager in hierarchy (item drop in world). IMPORTANT* This is called after the C++ event.
Definition at line 236 of file SCR_HandSlotStorageComponent.c.
|
protected |
It should return true or false depending if the scripter wants to override the behavior of the C++ function or not. IMPORTANT* This should contains one line with return true/false; The result is cached, so this function can't be made dynamic
Definition at line 115 of file BaseInventoryStorageComponent.c.
|
protected |
It should return true or false depending if the scripter wants to override the behavior of the C++ function or not. IMPORTANT* This should contains one line with return true/false; The result is cached, so this function can't be made dynamic
Definition at line 120 of file BaseInventoryStorageComponent.c.
|
protected |
It should return true or false depending if the scripter wants to override the behavior of the C++ function or not. IMPORTANT* This should contains one line with return true/false; The result is cached, so this function can't be made dynamic
Definition at line 105 of file BaseInventoryStorageComponent.c.
|
protected |
It should return true or false depending if the scripter wants to override the behavior of the C++ function or not. IMPORTANT* This should contains one line with return true/false; The result is cached, so this function can't be made dynamic
Definition at line 110 of file BaseInventoryStorageComponent.c.
Will be called when item is removed from slot IMPORTANT* This is called after the C++ event.
Definition at line 229 of file SCR_HandSlotStorageComponent.c.
Performs dimension validation.
|
protected |
Performs item volume and (optionally) dimension validation.
|
protected |
Performs prefab volume and (optionally) dimension validation.
|
protected |
IMPORTANT* Should be called before transfering ownership of holded slot instance In majority of cases should be unnecessary (when storage manages creation and destruction of slots on its own)
|
protected |
Called locally per instance, implement remove logics here.
| proto external IEntity ResolvePreviewEntityForPrefab | ( | ResourceName | prefabResource | ) |
| ItemPreviewManagerEntityClass GenericEntityClass SetPreviewItem | ( | ItemPreviewWidget | widget, |
| IEntity | item, | ||
| PreviewRenderAttributes | attributes = null, | ||
| bool | forceRefresh = false, | ||
| int | maxLifeTimeMS = 30000 ) |
Set item to preview, optional override for PreviewRenderAttributes and forcing refresh of preview item (usualy not needed since system is taking care of updating hierarchy when entity hierarchy is changed) maxLiftTime sets the maximum time that the item preview can remain in cache after being unused. if maxLifeTimeMS <= 0, the entry will always stay in cache
| proto external void SetPreviewItemFromPrefab | ( | ItemPreviewWidget | widget, |
| ResourceName | prefabResource, | ||
| PreviewRenderAttributes | attributes = null, | ||
| bool | forceRefresh = false, | ||
| int | maxLifeTimeMS = 30000 ) |
| BaseInventoryStorageComponentClass InventoryItemComponentClass SetupSlotHooks | ( | InventoryStorageSlot | ownedSlot, |
| int | slotID ) |
IMPORTANT* Should be called upon initialization of slot instance provide newly created slot and desired slot ID
|
protected |
Will be called to estimate if storage children has to be included in preview.
Equipment storage are slots which are part of their parent entity but not taking up the standard cargo space, such as slot for flashlight in the form of a strap on the vest or belt.
Will be called to estimate if storage children has to be included in preview.
Will be called to estimate if storage children has to be included in preview
Definition at line 1 of file SCR_EquipmentStorageComponent.c.
|
protected |
Virtual method for updating the UI when an item is removed/added.
Definition at line 1 of file ScriptedBaseInventoryStorageComponent.c.