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

◆ OnWasAttached()

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

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

198 {
199 super.OnWasAttached(parent, slot_id);
200
201 PlayerBase player = PlayerBase.Cast(parent);
202
203 if (player)
204 {
205 if (m_Light)
206 {
207 AttachLightOnHead(player);
208 }
209 }
210 }
HeadtorchLight m_Light
Определения Headtorch_ColorBase.c:3
void AttachLightOnHead(EntityAI person)
Определения Headtorch_ColorBase.c:167

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