DayZ 1.28
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/Entities/EntityAI.c:3823

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

3824 {
3825 float currentTime = GetGame().GetTickTime();
3826 if (m_LastUpdatedTime == 0)
3827 m_LastUpdatedTime = currentTime;
3828
3830 m_LastUpdatedTime = currentTime;
3831
3833 }
proto native float GetTickTime()
Returns current time from start of the game.
float m_LastUpdatedTime
Определения 3_Game/Entities/EntityAI.c:130
float m_ElapsedSinceLastUpdate
Определения 3_Game/Entities/EntityAI.c:131
void ProcessVariables()
Определения 3_Game/Entities/EntityAI.c:3835
proto native CGame GetGame()

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