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

◆ ClearActionJuncture()

void ActionBase::ClearActionJuncture ( ActionData action_data)
inlineprotected

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

1105 {
1106 if (action_data.m_Player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1107 {
1108 if (action_data.m_ReservedInventoryLocations)
1109 {
1110 InventoryLocation il;
1111 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1112 {
1113 il = action_data.m_ReservedInventoryLocations.Get(i);
1114 EntityAI entity = il.GetItem();
1115 if (entity)
1116 {
1117 g_Game.ClearJunctureEx(action_data.m_Player, entity);
1118 }
1119 }
1120
1121 action_data.m_ReservedInventoryLocations.Clear();
1122 }
1123 }
1124 }
class LogManager EntityAI
DayZGame g_Game
Определения DayZGame.c:3942
proto native EntityAI GetItem()
returns item of current inventory location
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1071

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

Используется в ActionDeployBase::AddActionJuncture(), ActionSwitchSeats::AddActionJuncture(), FirearmActionBase::AddActionJuncture(), OnEnd(), ActionDetachFromTarget::OnExecute(), ActionTakeArrow::OnExecute(), ActionTakeArrowToHands::OnExecute(), ActionTakeHybridAttachment::OnExecute(), ActionTakeHybridAttachmentToHands::OnExecute(), ActionTakeItem::OnExecute(), ActionTakeItemToHands::OnExecute(), ActionTakeMaterialToHands::OnExecute(), OnExecute(), ActionRepositionPluggedItem::OnExecuteServer(), ActionDeployBase::OnFinishProgressServer(), ActionDigInStash::OnFinishProgressServer(), ActionPackGift::OnFinishProgressServer(), ActionWorldCraft::OnFinishProgressServer(), OnFinishProgressServer(), ActionExtinquishTorchVideo::OnStartServer() и ActionLightTorchVideo::OnStartServer().