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

◆ GetBleedingSourceCountRemote()

int BleedingSourcesManagerBase::GetBleedingSourceCountRemote ( )
inlineprotected

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

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

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