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

◆ UnpackBitsToArrayOfBoolStates()

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

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

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

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