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

◆ ClearActionJuncture()

void ActionBase::ClearActionJuncture ( ActionData action_data)
inlineprotected

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

1084 {
1085 if (action_data.m_Player.GetInstanceType() == DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1086 {
1087 if (action_data.m_ReservedInventoryLocations)
1088 {
1089 InventoryLocation il;
1090 for ( int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1091 {
1092 il = action_data.m_ReservedInventoryLocations.Get(i);
1093 EntityAI entity = il.GetItem();
1094 if (entity)
1095 {
1096 GetGame().ClearJunctureEx(action_data.m_Player, entity);
1097 }
1098 }
1099
1100 action_data.m_ReservedInventoryLocations.Clear();
1101 }
1102 }
1103 }
class LogManager EntityAI
bool ClearJunctureEx(Man player, notnull EntityAI item)
Определения 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().