DayZ 1.27
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.
Определения EntityAI.c:3818

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

3819 {
3820 float currentTime = GetGame().GetTickTime();
3821 if (m_LastUpdatedTime == 0)
3822 m_LastUpdatedTime = currentTime;
3823
3825 m_LastUpdatedTime = currentTime;
3826
3828 }
proto native float GetTickTime()
Returns current time from start of the game.
float m_LastUpdatedTime
Определения EntityAI.c:130
float m_ElapsedSinceLastUpdate
Определения EntityAI.c:131
void ProcessVariables()
Определения EntityAI.c:3830
proto native CGame GetGame()

Перекрестные ссылки GetGame(), CGame::GetTickTime(), m_ElapsedSinceLastUpdate, m_LastUpdatedTime и ProcessVariables().