Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
InventoryItemComponent.c
Go to the documentation of this file.
1 /*
2 ===========================================
3 Do not modify, this script is generated
4 ===========================================
5 */
6 
13 {
14  ref ScriptInvoker<bool> m_OnLockedStateChangedInvoker = new ScriptInvoker<bool>();
15 
16  ref ScriptInvoker<InventoryStorageSlot, InventoryStorageSlot> m_OnParentSlotChangedInvoker = new ScriptInvoker<InventoryStorageSlot, InventoryStorageSlot>();
17 
19  proto external IEntity GetOwner();
21  proto external bool IsLocked();
22  proto external bool IsUserLocked();
23  proto external bool IsSystemLocked();
24  // Get slot where item is located (returns null if none)
25  proto external InventoryStorageSlot GetParentSlot();
26  proto external ItemAttributeCollection GetAttributes();
28  proto external void HideOwner();
30  proto external void ShowOwner();
32  proto external void SetTraceable(bool traceable);
34  proto external void DisablePhysics();
36  proto external void EnablePhysics();
38  proto external void ActivateOwner(bool active);
40  proto external float GetAdditionalWeight();
46  proto external void SetAdditionalWeight(float additionalWeight);
48  proto external float GetTotalWeight();
50  proto external float GetAdditionalVolume();
56  proto external void SetAdditionalVolume(float additionalVolume);
58  proto external float GetTotalVolume();
64  proto external void PlaceOnGround(IEntity callerEntity = null);
66  proto external bool IsHiddenInVicnity();
68  proto external UIInfo GetUIInfo();
71  proto external bool RequestUserLock(IEntity caller, bool locked);
77  proto external BaseItemAttributeData FindAttribute(typename typeName);
79  proto external IEntity CreatePreviewEntity(BaseWorld world, int camera);
80 
81  // callbacks
82 
84  event protected bool ShouldHideInVicinity();
86  event protected bool OverridePlacementTransform(IEntity caller, out vector computedTransform[4]);
87  event private void OnLockedStateChanged(bool nowLocked) { if (m_OnLockedStateChangedInvoker) m_OnLockedStateChangedInvoker.Invoke(nowLocked); };
88  event private void OnParentSlotChanged(InventoryStorageSlot oldSlot, InventoryStorageSlot newSlot) { if (m_OnParentSlotChangedInvoker) m_OnParentSlotChangedInvoker.Invoke(oldSlot, newSlot); };
89 }
90 
InventoryStorageSlot
Definition: InventoryStorageSlot.c:12
ItemAttributeCollection
Definition: ItemAttributeCollection.c:12
UIInfo
UIInfo - declare object, allows to define UI elements.
Definition: UIInfo.c:13
InventoryItemComponent
Definition: InventoryItemComponent.c:12
GameComponent
Definition: GameComponent.c:12
BaseItemAttributeData
Definition: BaseItemAttributeData.c:12