Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_HandSlotStorageComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_HandSlotStorageComponentClass

Functions

override InventoryStorageSlot GetEmptySlotForItem (IEntity item)
 Usually any slot that item can be inserted to.
override bool CanStoreItem (IEntity item, int slotID)
override bool CanStoreResource (ResourceName resourceName, int slotID)
override bool CanReplaceItem (IEntity nextItem, int slotID)
IEntity GetHandSlotItem ()
void OnAddedToSlot (IEntity item, int slotID)
void DelayedOnAddedToSlot (IEntity item)
void SkipAnimation_S ()
 Authority method used to inform others that this entity should skip the wait for the pick up animation.
void RPC_DoSkipAnimation ()
void SkipAnimation ()
 When animation is not used then this will remove itself from animation event script invoker and continue the proces of handling hand slot item.
void OnAnimationEvent (AnimationEventID animEventType, AnimationEventID animUserString, int intParam, float timeFromStart, float timeToEnd)
void OnRemovedFromSlot (IEntity item, int slotID)
override void OnManagerChanged (InventoryStorageManagerComponent manager)

Variables

SCR_HandSlotStorageComponentClass m_bSkipNextWaitForAnimation
IEntity m_HandSlotItem
RplComponent m_RplComponent
AnimationEventID m_iGestureAnimationEndEvent = -1
SCR_CharacterInventoryStorageComponent m_CharacterInventory

Function Documentation

◆ CanReplaceItem()

override bool CanReplaceItem ( IEntity nextItem,
int slotID )
protected

Definition at line 81 of file SCR_HandSlotStorageComponent.c.

◆ CanStoreItem()

override bool CanStoreItem ( IEntity item,
int slotID )
protected

Definition at line 36 of file SCR_HandSlotStorageComponent.c.

◆ CanStoreResource()

override bool CanStoreResource ( ResourceName resourceName,
int slotID )
protected

Definition at line 49 of file SCR_HandSlotStorageComponent.c.

◆ DelayedOnAddedToSlot()

void DelayedOnAddedToSlot ( IEntity item)
protected

Definition at line 134 of file SCR_HandSlotStorageComponent.c.

◆ GetHandSlotItem()

IEntity GetHandSlotItem ( )
protected

Definition at line 90 of file SCR_HandSlotStorageComponent.c.

◆ RPC_DoSkipAnimation()

void RPC_DoSkipAnimation ( )
protected

Definition at line 182 of file SCR_HandSlotStorageComponent.c.

◆ SkipAnimation()

void SkipAnimation ( )
protected

When animation is not used then this will remove itself from animation event script invoker and continue the proces of handling hand slot item.

Definition at line 189 of file SCR_HandSlotStorageComponent.c.

◆ SkipAnimation_S()

void SkipAnimation_S ( )
protected

Authority method used to inform others that this entity should skip the wait for the pick up animation.

Definition at line 172 of file SCR_HandSlotStorageComponent.c.

Variable Documentation

◆ m_bSkipNextWaitForAnimation

SCR_HandSlotStorageComponentClass m_bSkipNextWaitForAnimation

◆ m_CharacterInventory

SCR_CharacterInventoryStorageComponent m_CharacterInventory
protected

Definition at line 12 of file SCR_HandSlotStorageComponent.c.

◆ m_HandSlotItem

IEntity m_HandSlotItem
protected

Definition at line 9 of file SCR_HandSlotStorageComponent.c.

◆ m_iGestureAnimationEndEvent

AnimationEventID m_iGestureAnimationEndEvent = -1
protected

Definition at line 11 of file SCR_HandSlotStorageComponent.c.

◆ m_RplComponent

RplComponent m_RplComponent
protected

Definition at line 10 of file SCR_HandSlotStorageComponent.c.