Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_TourniquetStorageSlot Interface Reference
Inheritance diagram for SCR_TourniquetStorageSlot:
[legend]

Public Member Functions

ECharacterHitZoneGroup GetAssociatedHZGroup ()
 
IEntity GetItem (int ID)
 
- Public Member Functions inherited from EquipmentStorageSlot
proto external bool CanAttachItem (IEntity item)
 
proto external bool IsOccluded ()
 
- Public Member Functions inherited from InventoryStorageSlot
proto external bool ScriptOnRplSave (ScriptBitWriter writer)
 
proto external bool ScriptOnRplLoad (ScriptBitReader reader)
 
proto external vector GetInspectionWidgetOffset ()
 
proto external bool IsLocked ()
 Either current slot is locked.
 
proto external int GetID ()
 Get slot id.
 
proto external GenericComponent GetParentContainer ()
 EntityContainer which created the slot.
 
proto external BaseInventoryStorageComponent GetStorage ()
 storage that our slot belongs to
 
- Public Member Functions inherited from EntitySlotInfo
ScriptInvokerEntity GetAttachedEntityInvoker ()
 
ScriptInvokerEntity GetDetachedEntityInvoker ()
 
proto external bool IsEnabled ()
 
proto external IEntity GetAttachedEntity ()
 Returns currently attached entity or null if none.
 
proto external string GetSourceName ()
 Returns the name of the EntitySlotInfo defined in the array of slots.
 
proto external void SetAdditiveTransformLS (vector matLS[4])
 Updates attached entity's transformation by combining provided transformation with slot predefined local transformation Once new entity is attached to slot provided transformation is discarded and predifined local transformation is used instead.
 
proto external void OverrideTransformLS (vector matLS[4])
 Overrides local transformation of entity Once new entity is attached to slot provided transformation is discarded and predifined local transformation is used instead.
 
proto external void DetachEntity (bool physicalChange=true)
 Detaches entity from this slot info (if any)
 
proto external void AttachEntity (IEntity entity)
 Attaches provided entity to this slot info Deletes previously attached entity (if any)
 
void OnAttachedEntity (IEntity entity)
 Runs every time an entity is attached to the slot.
 
void OnDetachedEntity (IEntity entity)
 Runs every time an entity is detached from the slot.
 

Protected Attributes

ECharacterHitZoneGroup m_eHitZoneGroup
 

Additional Inherited Members

- Static Public Member Functions inherited from EntitySlotInfo
static EntitySlotInfo GetSlotInfo (notnull IEntity entity)
 Checks whether provided entity has parent and if so, tries to find a slot which it would belong to.
 
static void GetSlotInfos (notnull IEntity entity, inout notnull array< EntitySlotInfo > slotInfos)
 Get slots of the passed entity

 
- Protected Member Functions inherited from SCR_EquipmentStorageSlot
override bool OnOccludedStateChanged (bool occluded)
 override this method to handle custom behavior when state is changed return true if you don't want slot to handle attached item visibility changes
 
bool OnOccludedStateChanged (bool occluded)
 override this method to handle custom behavior when state is changed return true if you don't want slot to handle attached item visibility changes
 

Member Function Documentation

◆ GetAssociatedHZGroup()

ECharacterHitZoneGroup SCR_TourniquetStorageSlot.GetAssociatedHZGroup ( )
Returns

◆ GetItem()

IEntity SCR_TourniquetStorageSlot.GetItem ( int  ID)
Parameters
[in]ID
Returns

Member Data Documentation

◆ m_eHitZoneGroup

ECharacterHitZoneGroup SCR_TourniquetStorageSlot.m_eHitZoneGroup
protected

The documentation for this interface was generated from the following file: