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

◆ OnCEUpdate()

void Entity::OnCEUpdate ( )
inlineprotected

Central economy calls this function whenever going over all the entities.

void OnCEUpdate()
{
// dont forget to propagate this call trough class hierarchy! - always at the start of the function
super.OnCEUpdate();
// use m_ElapsedSinceLastUpdate for time-related purposes
}
void OnCEUpdate()
Central economy calls this function whenever going over all the entities.

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 3866

3867 {
3868 float currentTime = g_Game.GetTickTime();
3869 if (m_LastUpdatedTime == 0)
3870 m_LastUpdatedTime = currentTime;
3871
3873 m_LastUpdatedTime = currentTime;
3874
3876 }
DayZGame g_Game
Определения DayZGame.c:3942
float m_LastUpdatedTime
float m_ElapsedSinceLastUpdate
void ProcessVariables()

Перекрестные ссылки g_Game, m_ElapsedSinceLastUpdate, m_LastUpdatedTime и ProcessVariables().