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

◆ ClearInventoryReservationEx()

void ActionBase::ClearInventoryReservationEx ( ActionData action_data)
inlineprotected

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

1041 {
1042 if (action_data.m_Player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1043 {
1044 if (action_data.m_ReservedInventoryLocations)
1045 {
1046 InventoryLocation il;
1047 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1048 {
1049 il = action_data.m_ReservedInventoryLocations.Get(i);
1050 action_data.m_Player.GetInventory().ClearInventoryReservationEx( il.GetItem() , il );
1051 }
1052
1053 action_data.m_ReservedInventoryLocations.Clear();
1054 }
1055 }
1056 }
proto native EntityAI GetItem()
returns item of current inventory location
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1071

Перекрестные ссылки 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(), ActionBreakLongWoodenStick::OnFinishProgressServer(), ActionDigInStash::OnFinishProgressServer(), ActionRestrainSelf::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), OnFinishProgressServer(), PerformSwap(), ActionDetachFromTarget::Process(), SetupAction(), FirearmActionAttachMagazine::Start() и FirearmActionAttachMagazineQuick::Start().