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

◆ SetRefresherActive()

void BaseBuildingBase::SetRefresherActive ( bool state)
inlineprotected

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

197 {
198 if ( m_RefresherActive != state )
199 {
200 m_RefresherActive = state;
201 SetSynchDirty();
202
204
205 //update on refresher activation / last update on refresher deactivation
206 if (GetCEApi())
207 GetCEApi().RadiusLifetimeReset(GetPosition(),GameConstants.REFRESHER_RADIUS);
208 }
209 }
proto native CEApi GetCEApi()
Get the CE API.
bool m_RefresherActive
Определения Totem.c:6
void HandleRefreshers()
Saves positions of active lifetime refreshers to MissionGameplay / MissionServer.
Определения Totem.c:179
vector GetPosition()
Get the world position of the Effect.
Определения Effect.c:473

Перекрестные ссылки GetCEApi(), GetPosition(), HandleRefreshers(), m_RefresherActive и GameConstants::REFRESHER_RADIUS.

Используется в AddRefresherTime01() и OnCEUpdate().