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

◆ ActionCondition()

override bool ActionDismantlePart::ActionCondition ( PlayerBase player,
ActionTarget target,
ItemBase item )
inlineprivate

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

79 {
80 if ( player.IsPlacingLocal() )
81 return false;
82
83 //Action not allowed if player has broken legs
84 if (player.GetBrokenLegs() == eBrokenLegs.BROKEN_LEGS)
85 return false;
86
87 return DismantleCondition( player, target, item, true ) && player.m_MovementState.m_iStanceIdx != DayZPlayerConstants.STANCEIDX_PRONE;
88 }
eBrokenLegs
Определения EBrokenLegs.c:2
bool DismantleCondition(PlayerBase player, ActionTarget target, ItemBase item, bool camera_check)
Определения ActionDismantlePart.c:144
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602

Перекрестные ссылки ActionTarget и DismantleCondition().