Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_EquipDeployableItemAction.c
Go to the documentation of this file.
1
class
SCR_EquipDeployableItemAction
:
SCR_DeployableInventoryItemPickUpAction
2
{
3
//------------------------------------------------------------------------------------------------
4
override
protected
void
PerformActionInternal
(SCR_InventoryStorageManagerComponent manager,
IEntity
pOwnerEntity,
IEntity
pUserEntity)
5
{
6
SCR_InvEquipAnyItemCB inventoryCallBack =
new
SCR_InvEquipAnyItemCB();
7
inventoryCallBack.m_pItem = pOwnerEntity;
8
inventoryCallBack.m_pStorageToPickUp = manager.GetCharacterStorage();
9
inventoryCallBack.m_iSlotToFocus = -1;
10
inventoryCallBack.m_bShouldEquip =
true
;
11
12
manager.InsertItem(pOwnerEntity, cb: inventoryCallBack);
13
}
14
}
IEntity
Definition
IEntity.c:13
SCR_DeployableInventoryItemPickUpAction
Definition
SCR_DeployableInventoryItemPickUpAction.c:2
SCR_EquipDeployableItemAction
Definition
SCR_EquipDeployableItemAction.c:2
SCR_EquipDeployableItemAction::PerformActionInternal
void PerformActionInternal(SCR_InventoryStorageManagerComponent manager, IEntity pOwnerEntity, IEntity pUserEntity)
Definition
SCR_EquipDeployableItemAction.c:4
scripts
Game
DeployableInventoryItems
Inventory
SCR_EquipDeployableItemAction.c
Generated by
1.17.0