DayZ 1.29
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 ( g_Game.IsMultiplayer() && g_Game.IsServer() ) || ( player.HasBloodyHands() && !player.GetItemInHands() && !player.GetItemOnSlot("Gloves") );
31 }
DayZGame g_Game
Определения DayZGame.c:3942

Перекрестные ссылки ActionTarget и g_Game.