Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
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) |
CharacterVicinityComponentClass GameComponentClass | GetAvailableItems (inout notnull array< IEntity > items) |
proto external void | SetItemOfInterest (IEntity item) |
proto external void | ManipulationComplete () |
proto external IEntity | GetItemOfInterest () |
proto external float | GetDiscoveryRadius () |
event protected void | OnUpdate () |
EquipedLoadoutStorageComponentClass ScriptedBaseInventoryStorageComponentClass | GetSlotFromArea (typename pAreaType) |
Get the first slot that satisfies the condition : "slot area type is inherited by pAreaType". More... | |
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". More... | |
ItemPreviewManagerEntityClass GenericEntityClass | SetPreviewItem (ItemPreviewWidget widget, IEntity item, PreviewRenderAttributes attributes=null, bool forceRefresh=false) |
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) More... | |
proto external void | SetPreviewItemFromPrefab (ItemPreviewWidget widget, ResourceName prefabResource, PreviewRenderAttributes attributes=null, bool forceRefresh=false) |
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.
event bool CanRemoveItem | ( | IEntity | item | ) |
Implemented logics for can remove here,.
Definition at line 128 of file BaseInventoryStorageComponent.c.
event bool CanReplaceItem | ( | IEntity | nextItem, |
int | slotID | ||
) |
Implemented logics for can replace to nextItem at slotID,.
Definition at line 130 of file BaseInventoryStorageComponent.c.
event bool CanStoreItem | ( | IEntity | item, |
int | slotID | ||
) |
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
Definition at line 124 of file BaseInventoryStorageComponent.c.
event bool CanStoreResource | ( | ResourceName | resourceName, |
int | slotID | ||
) |
Implemented logics for can insert here, Manager will provide slotID of -1 in case slot is irrelevant.
Definition at line 126 of file BaseInventoryStorageComponent.c.
proto external sealed bool Contains | ( | IEntity | item | ) |
Check if an item is inside this storage.
item | Item which meeds to be searched. |
proto external sealed InventoryStorageSlot FindItemSlot | ( | IEntity | item | ) |
Find the item slot.
item | Item which meeds to be searched. |
proto external InventoryStorageSlot FindSuitableSlotForItem | ( | IEntity | item | ) |
proto external sealed IEntity Get | ( | int | slotID | ) |
Get item at slot ID.
slotID | Slot ID |
proto external sealed int GetAll | ( | out notnull array< IEntity > | outItems | ) |
CharacterVicinityComponentClass GameComponentClass GetAvailableItems | ( | inout notnull array< IEntity > | items | ) |
IMPORTANT ***
Call ManipulationComplete method as soon as you are done working with items from the vicinity
items | Array which need to be filled. |
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".
proto external float GetDiscoveryRadius | ( | ) |
event protected InventoryStorageSlot GetEmptySlotForItem | ( | IEntity | item | ) |
Usually any slot that item can be inserted to.
proto external IEntity GetItemOfInterest | ( | ) |
proto external vector GetMaxDimensionCapacity | ( | ) |
proto external float GetMaxVolumeCapacity | ( | ) |
proto external float GetOccupiedSpace | ( | ) |
returns amount of space occupied by attached items
proto external void GetOwnedItems | ( | out notnull array< InventoryItemComponent > | outItemsComponents | ) |
Fills array with attached items including items from storage compartments.
proto external bool GetOwnedStorages | ( | out notnull array< BaseInventoryStorageComponent > | outStorages, |
int | depth, | ||
bool | includeHierarchy | ||
) |
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 |
proto external sealed int GetPriority | ( | ) |
Get evaluation priority.
Definition at line 107 of file SCR_BaseManualCameraComponent.c.
proto external sealed EStoragePurpose GetPurpose | ( | ) |
proto external sealed InventoryStorageSlot GetSlot | ( | int | slotID | ) |
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".
proto external int GetSlotsCount | ( | ) |
Returns the number of slots in this storage.
event protected int GetSlotsCountScr | ( | ) |
Should Return slots count.
event protected InventoryStorageSlot GetSlotScr | ( | int | slotID | ) |
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. |
proto external float GetWeightFromResource | ( | ResourceName | resourceName | ) |
get the weight of a prefab
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.
proto external bool IsCompartment | ( | ) |
does current storage serves as a compartment of other storage
proto external void ManipulationComplete | ( | ) |
event protected void OnAddedToSlot | ( | IEntity | item, |
int | slotID | ||
) |
Will be called when item is added to slot. IMPORTANT* This is called after the C++ event.
Called when item is added to slot, update armored attributes when item with armorData is equipped
[in] | item | |
[in] | slotID |
Definition at line 563 of file SCR_CharacterInventoryStorageComponent.c.
event protected void OnManagerChanged | ( | InventoryStorageManagerComponent | manager | ) |
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 247 of file SCR_UniversalInventoryStorageComponent.c.
event bool OnOverrideCanRemoveItem | ( | ) |
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.
event bool OnOverrideCanReplaceItem | ( | ) |
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.
event bool OnOverrideCanStoreItem | ( | ) |
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 95 of file BaseInventoryStorageComponent.c.
event bool OnOverrideCanStoreResource | ( | ) |
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 100 of file BaseInventoryStorageComponent.c.
event protected void OnRemovedFromSlot | ( | IEntity | item, |
int | slotID | ||
) |
Will be called when item is removed from slot IMPORTANT* This is called after the C++ event.
Definition at line 597 of file SCR_CharacterInventoryStorageComponent.c.
event protected void OnUpdate | ( | ) |
Definition at line 237 of file SCR_MapMarkerSquadLeader.c.
proto external bool PerformDimensionValidation | ( | IEntity | item | ) |
performs dimension validation.
proto external bool PerformVolumeAndDimensionValidationForResource | ( | ResourceName | resourceName, |
bool | includeDimensionValidation = true |
||
) |
performs volume and item dimension validation.
proto external bool PerformVolumeValidation | ( | IEntity | item, |
bool | includeDimensionValidation = true |
||
) |
performs volume and item dimension validation.
proto external sealed protected void ReleaseSlotHooks | ( | InventoryStorageSlot | ownedSlot | ) |
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)
event protected ref BaseInventoryTask RemoveItem | ( | IEntity | item | ) |
Called locally per instance, implement remove logics here.
proto external IEntity ResolvePreviewEntityForPrefab | ( | ResourceName | prefabResource | ) |
proto external void SetItemOfInterest | ( | IEntity | item | ) |
ItemPreviewManagerEntityClass GenericEntityClass SetPreviewItem | ( | ItemPreviewWidget | widget, |
IEntity | item, | ||
PreviewRenderAttributes | attributes = null , |
||
bool | forceRefresh = false |
||
) |
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)
proto external void SetPreviewItemFromPrefab | ( | ItemPreviewWidget | widget, |
ResourceName | prefabResource, | ||
PreviewRenderAttributes | attributes = null , |
||
bool | forceRefresh = false |
||
) |
BaseInventoryStorageComponentClass InventoryItemComponentClass SetupSlotHooks | ( | InventoryStorageSlot | ownedSlot, |
int | slotID | ||
) |
IMPORTANT* Should be called upon initialization of slot instance provide newly created slot and desired slot ID
event protected bool ShouldPreviewAttachedItems | ( | ) |
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.
Will be called to estimate if storage children has to be included in preview
Definition at line 10 of file SCR_EquipmentStorageComponent.c.