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

◆ GetBleedingSourceCountRemote()

int BleedingSourcesManagerBase::GetBleedingSourceCountRemote ( )
inlineprotected

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

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

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