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

◆ IsWearingGag()

bool ActionUngagSelf::IsWearingGag ( PlayerBase player)
inlineprivate

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

43 {
44 EntityAI attachment;
45 Class.CastTo(attachment, player.GetInventory().FindAttachment(InventorySlots.MASK));
46 if ( attachment && attachment.GetType() == "MouthRag" )
47 {
48 return true;
49 }
50 return false;
51 }
class LogManager EntityAI

Перекрестные ссылки Class::CastTo().

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