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

◆ OnValveManipulationEnd()

void OnValveManipulationEnd ( int pValveIndex)
protected

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

493 {
494 if (GetGame().IsServer())
495 {
496 switch (pValveIndex)
497 {
499 m_ValveStates[pValveIndex] = true;
500 m_PressureAnimationRequests[pValveIndex] = true;
503 SetLastActiveValve(pValveIndex);
504 AnimateValve(pValveIndex, 0);
505 break;
506 case VALVE_INDEX_FILL:
507 m_ValveStates[pValveIndex] = true;
508 m_PressureAnimationRequests[pValveIndex] = true;
511 AnimateValve(pValveIndex, 0);
512 SetLastActiveValve(pValveIndex);
513 break;
514 }
515
517 }
518 }
int m_DrainValvePressureLevelStageIndex
void SetLastActiveValve(int pValveIndex)
const int VALVE_INDEX_DRAIN
ref array< bool > m_ValveStates
const int VALVE_INDEX_FILL
int m_DrainValveWaterLevelStageIndex
pointing to specific stage for each valve/pipe
int m_FillValveWaterLevelStageIndex
void SyncValveVariables()
int m_FillValvePressureLevelStageIndex
void AnimateValve(int pValveIndex, float pPhase)
ref array< bool > m_PressureAnimationRequests
proto native CGame GetGame()

Перекрестные ссылки AnimateValve(), GetGame(), m_DrainValvePressureLevelStageIndex, m_DrainValveWaterLevelStageIndex, m_FillValvePressureLevelStageIndex, m_FillValveWaterLevelStageIndex, m_PressureAnimationRequests, m_ValveStates, SetLastActiveValve(), SyncValveVariables(), VALVE_INDEX_DRAIN и VALVE_INDEX_FILL.