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

◆ IsWearingSplint()

bool ManBase::IsWearingSplint ( )
inlineprotected

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

3778 {
3779 EntityAI attachment;
3780 Class.CastTo(attachment, GetItemOnSlot("Splint_Right"));
3781 if (attachment && attachment.GetType() == "Splint_Applied")
3782 {
3783 return true;
3784 }
3785 return false;
3786 }
class LogManager EntityAI
ItemBase GetItemOnSlot(string slot_type)
Returns item that's on this player's attachment slot. Parameter slot_type should be a string from con...
Определения PlayerBase.c:811

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