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

◆ UnpackBitsToArrayOfBoolStates()

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

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

1269 {
1270 array<bool> unpackedBools = new array<bool>();
1271 for (int i = 0; i < pArrayLength; ++i)
1272 {
1273 if ((pPackedBits & 1 << i) != 0)
1274 {
1275 unpackedBools.Insert(true);
1276 }
1277 else
1278 {
1279 unpackedBools.Insert(false);
1280 }
1281 }
1282
1283 return unpackedBools;
1284 }
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

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