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

◆ ActionCondition()

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

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

30 {
31 // Other conditions are in CCTLiquid
32 return ( g_Game.IsMultiplayer() && g_Game.IsServer() ) || ( player.HasBloodyHands() && !player.GetItemInHands() && !player.GetItemOnSlot("Gloves") );
33 }
DayZGame g_Game
Определения DayZGame.c:4074

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

Используется в CreateActionComponent().