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

◆ ReadFromCyclicBuffer()

float NotifierBase::ReadFromCyclicBuffer ( int index)
inlineprivate

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

90 {
91 int indx = m_TendencyBufferWriteIterator + index;
92 if ( indx >= m_TendencyBufferSize)
93 {
94 indx = indx - m_TendencyBufferSize;
95 }
96
97 return m_TendencyBuffer[indx];
98 }
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().