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

◆ CheckLifetime()

bool EntityLightSource::CheckLifetime ( int current_time)
inlineprivate

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

637 {
638 if ( current_time > m_LifetimeEnd && m_LifetimeEnd != -1 )
639 {
640 Destroy();
641 return false;
642 }
643
644 return true;
645 }
void Destroy()
Switches off the light and deletes it from memory.
Определения ScriptedLightBase.c:326
float m_LifetimeEnd
Определения ScriptedLightBase.c:13

Перекрестные ссылки Destroy() и m_LifetimeEnd.

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