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

◆ OnWasAttached()

override void Clothing::OnWasAttached ( EntityAI parent,
int slot_id )
inlineprotected

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

206 {
207 super.OnWasAttached(parent, slot_id);
208
209 PlayerBase player = PlayerBase.Cast(parent);
210
211 if (player)
212 {
213 if (m_Light)
214 {
215 AttachLightOnHead(player);
216 }
217 }
218 }
HeadtorchLight m_Light
Определения Headtorch_ColorBase.c:3
void AttachLightOnHead(EntityAI person)
Определения Headtorch_ColorBase.c:167

Перекрестные ссылки AttachLightOnHead() и m_Light.