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

◆ ActionCondition()

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

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

28 {
29 // Other conditions are in CCTWaterSurface
30 return ( GetGame().IsMultiplayer() && GetGame().IsServer() ) || ( player.HasBloodyHands() && !player.GetItemInHands() && !player.GetItemOnSlot("Gloves") );
31 }
proto native CGame GetGame()

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