![]() |
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 | SCR_UniversalInventoryStorageComponentClass |
Functions | |
| SCR_UniversalInventoryStorageComponentClass UniversalInventoryStorageComponentClass | Attribute ("0", UIWidgets.EditBox, "How much weight it can carry")] protected float m_fMaxWeight |
| float | GetMaxLoad () |
| Returns how much weight the component can carry. | |
| int | GetEstimatedCountFitForResourceWeight (ResourceName prefab) |
| Get an estimate of how many times the resource can fit in in this storage. | |
| bool | CheckParentWeightLimit (float weight) |
| InventoryItemComponent | GetItemComponent (IEntity pItem) |
| bool | IsAdditionalWeightOk (float fWeight) |
| override bool | CanStoreItem (IEntity item, int slotID) |
| override bool | CanStoreResource (ResourceName resourceName, int slotID) |
| override bool | CanReplaceItem (IEntity nextItem, int slotID) |
| override void | OnRemovedFromSlot (IEntity item, int slotID) |
| override void | OnAddedToSlot (IEntity item, int slotID) |
| int | GetLinkedStorages (notnull out array< BaseInventoryStorageComponent > linkedStorages) |
| void | AddLinkedStorage (BaseInventoryStorageComponent newLinkedStorage) |
| bool | IsStorageALinkedChild (notnull BaseInventoryStorageComponent storage) |
| int | GetNonRefundableItemCount () |
| void | SetNonRefundableItemCount (int refundableItemCount) |
| override void | OnManagerChanged (InventoryStorageManagerComponent manager) |
| void | SCR_UniversalInventoryStorageComponent (IEntityComponentSource src, IEntity ent, IEntity parent) |
Variables | |
| ref array< int > | m_aSlotsToShow |
| ref SCR_BaseLinkedStorageLogic | m_LinkedStorageLogic |
| ref array< BaseInventoryStorageComponent > | m_aLinkedStorages |
| Storages that will be automatically closed and opened when the parent (this) storage is closed or opened. | |
| float | m_fWeight |
| SCR_InventoryStorageManagerComponent | pInventoryManager |
| int | m_iNrOfNonRefundableItems = 0 |
|
protected |
Add a linked storage to this storage
| [in] | newLinkedStorage | The storage to link |
Definition at line 284 of file SCR_UniversalInventoryStorageComponent.c.
| SCR_UniversalInventoryStorageComponentClass UniversalInventoryStorageComponentClass Attribute | ( | "0" | , |
| UIWidgets. | EditBox, | ||
| "How much weight it can carry" | ) |
Current storage variant allows dynamic scaling of slots and handles Move/Insert/Remove operations it will accept any entity for insertion and will remove/add it's visibility flag when inserted/removed from storage
Definition at line 168 of file SCR_UniversalInventoryStorageComponent.c.
Definition at line 97 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 137 of file SCR_UniversalInventoryStorageComponent.c.
Checks if parent container will allow for storing provided amount of additional weight
| [in] | weight |
Definition at line 56 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Get an estimate of how many times the resource can fit in in this storage.
Definition at line 41 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 80 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Get a list of all linked storages of this storage
| [out] | linkedStorages | Linked storages |
Definition at line 272 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Returns how much weight the component can carry.
Definition at line 34 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 309 of file SCR_UniversalInventoryStorageComponent.c.
Definition at line 86 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Check if the given storage is a linked child storage
| [in] | storage | Storage to check return True if the storage is a linked child of this storage |
Definition at line 303 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
| [in] | src | |
| [in] | ent | |
| [in] | parent |
Definition at line 335 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 315 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Storages that will be automatically closed and opened when the parent (this) storage is closed or opened.
Definition at line 20 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 14 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 24 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 28 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 17 of file SCR_UniversalInventoryStorageComponent.c.
|
protected |
Definition at line 25 of file SCR_UniversalInventoryStorageComponent.c.