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

◆ ClearInventoryReservationEx()

void ActionBase::ClearInventoryReservationEx ( ActionData action_data)
inlineprotected

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

1062 {
1063 if (action_data.m_Player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1064 {
1065 if (action_data.m_ReservedInventoryLocations)
1066 {
1067 InventoryLocation il;
1068 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1069 {
1070 il = action_data.m_ReservedInventoryLocations.Get(i);
1071 action_data.m_Player.GetInventory().ClearInventoryReservationEx( il.GetItem() , il );
1072 }
1073
1074 action_data.m_ReservedInventoryLocations.Clear();
1075 }
1076 }
1077 }
proto native EntityAI GetItem()
returns item of current inventory location
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1068

Перекрестные ссылки 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().