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

◆ UnpackBitsToArrayOfBoolStates()

array< bool > UnpackBitsToArrayOfBoolStates ( int pPackedBits,
int pArrayLength )
protected

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

1250 {
1251 array<bool> unpackedBools = new array<bool>();
1252 for (int i = 0; i < pArrayLength; ++i)
1253 {
1254 if ((pPackedBits & 1 << i) != 0)
1255 {
1256 unpackedBools.Insert(true);
1257 }
1258 else
1259 {
1260 unpackedBools.Insert(false);
1261 }
1262 }
1263
1264 return unpackedBools;
1265 }
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

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