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

◆ CheckLifetime()

bool EntityLightSource::CheckLifetime ( int current_time)
inlineprivate

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

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

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

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