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

◆ GetBleedingSourceCountRemote()

int BleedingSourcesManagerBase::GetBleedingSourceCountRemote ( )
inlineprotected

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

118 {
119 int bleeding_source_count = 0;
120 int pow = 0;
121
122 for (int i = 0; i < BIT_INT_SIZE ; ++i)
123 {
124 int bit = Math.Pow(2, pow);
125 pow++;
126 if ((m_BleedingBits & bit) != 0)
127 {
128 bleeding_source_count++;
129 }
130 }
131
132 return bleeding_source_count;
133 }
const int BIT_INT_SIZE
Определения BitArray.c:4

Перекрестные ссылки BIT_INT_SIZE, m_BleedingBits и Math::Pow().