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

◆ ReadFromCyclicBuffer()

float NotifierBase::ReadFromCyclicBuffer ( int index)
inlineprivate

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

87 {
88 int indx = m_TendencyBufferWriteIterator + index;
89 if ( indx >= m_TendencyBufferSize)
90 {
91 indx = indx - m_TendencyBufferSize;
92 }
93
94 return m_TendencyBuffer[indx];
95 }
int m_TendencyBufferWriteIterator
Определения NotifierBase.c:15
float m_TendencyBuffer[TENDENCY_BUFFER_SIZE]
Определения NotifierBase.c:14
int m_TendencyBufferSize
Определения NotifierBase.c:8

Перекрестные ссылки m_TendencyBuffer, m_TendencyBufferSize и m_TendencyBufferWriteIterator.

Используется в GetDeltaAvaraged().