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

◆ IsWearingSplint()

bool ManBase::IsWearingSplint ( )
inlineprotected

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

3915 {
3916 EntityAI attachment;
3917 Class.CastTo(attachment, GetItemOnSlot("Splint_Right"));
3918 if (attachment && attachment.GetType() == "Splint_Applied")
3919 {
3920 return true;
3921 }
3922 return false;
3923 }
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:949

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