DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ ClearInventoryReservationEx()

void ActionBase::ClearInventoryReservationEx ( ActionData action_data)
inlineprotected

См. определение в файле ActionBase.c строка 1025

1026 {
1027 if (action_data.m_ReservedInventoryLocations)
1028 {
1029 InventoryLocation il;
1030 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1031 {
1032 il = action_data.m_ReservedInventoryLocations.Get(i);
1033 action_data.m_Player.GetInventory().ClearInventoryReservationEx( il.GetItem() , il );
1034 }
1035
1036 action_data.m_ReservedInventoryLocations.Clear();
1037 }
1038 }
proto native EntityAI GetItem()
returns item of current inventory location

Перекрестные ссылки ActionData и InventoryLocation::GetItem().

Используется в ActionDeployHuntingTrap::MoveEntityToFinalPosition(), ActionCollectBloodSelf::OnEndServer(), ActionTakeArrow::OnExecute(), ActionTakeArrowToHands::OnExecute(), ActionTakeHybridAttachment::OnExecute(), ActionTakeItem::OnExecute(), ActionTakeItemToHands::OnExecute(), ActionAttachOnSelection::OnExecuteClient(), ActionAttachPowerSourceToPanel::OnExecuteClient(), ActionAttachToConstruction::OnExecuteClient(), ActionCreateIndoorFireplace::OnExecuteClient(), ActionFoldEntityToSlot::OnExecuteClient(), ActionOpen::OnExecuteClient(), ActionRemoveSeed::OnExecuteClient(), ActionRepositionPluggedItem::OnExecuteClient(), ActionUnfoldEntity::OnExecuteClient(), ActionTakeHybridAttachmentToHands::OnExecuteImpl(), ActionAttachOnSelection::OnExecuteServer(), ActionAttachToConstruction::OnExecuteServer(), ActionCreateIndoorFireplace::OnExecuteServer(), ActionCreateIndoorOven::OnExecuteServer(), ActionFoldEntityToSlot::OnExecuteServer(), ActionOpen::OnExecuteServer(), ActionPlaceFireplaceIntoBarrel::OnExecuteServer(), ActionRepositionPluggedItem::OnExecuteServer(), ActionUnfoldEntity::OnExecuteServer(), OnFinishProgressClient(), ActionDigInStash::OnFinishProgressServer(), ActionRestrainSelf::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), OnFinishProgressServer(), PerformSwap(), ActionDetachFromTarget::Process(), SetupAction(), FirearmActionAttachMagazine::Start() и FirearmActionAttachMagazineQuick::Start().