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

◆ ClearActionJuncture()

void ActionBase::ClearActionJuncture ( ActionData action_data)
inlineprotected

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

1123 {
1124 if (action_data.m_Player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1125 {
1126 if (action_data.m_ReservedInventoryLocations)
1127 {
1128 InventoryLocation il;
1129 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1130 {
1131 il = action_data.m_ReservedInventoryLocations.Get(i);
1132 EntityAI entity = il.GetItem();
1133 if (entity)
1134 {
1135 GetGame().ClearJunctureEx(action_data.m_Player, entity);
1136 }
1137 }
1138
1139 action_data.m_ReservedInventoryLocations.Clear();
1140 }
1141 }
1142 }
class LogManager EntityAI
bool ClearJunctureEx(Man player, notnull EntityAI item)
Определения Global/game.c:762
proto native EntityAI GetItem()
returns item of current inventory location
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1068
proto native CGame GetGame()

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

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