public void Parse(ChunkData data) { int count = EndianessSwitchableBitConverter.ToInt32(data[0].Data, 0); _objects.Clear(); for (int i = 0; i < count; i++) { SavedObject1 so = new SavedObject1(); so.Parse(data[1].Data, i * 8); _objects.Add(so); } count = EndianessSwitchableBitConverter.ToInt32(data[2].Data, 0); _objects2.Clear(); for (int i = 0; i < count; i++) { SavedObject1 so = new SavedObject1(); so.Parse(data[3].Data, i * 8); _objects2.Add(so); } count = EndianessSwitchableBitConverter.ToInt32(data[4].Data, 0); _objects3.Clear(); for (int i = 0; i < count; i++) { SavedObject1 so = new SavedObject1(); so.Parse(data[5].Data, i * 8); _objects3.Add(so); } count = EndianessSwitchableBitConverter.ToInt32(data[6].Data, 0); _vehicles.Clear(); for (int i = 0; i < count; i++) { PdaDbEntryVehicle so = new PdaDbEntryVehicle(); so.Parse(data[7].Data, i * 4); _vehicles.Add(so); } count = EndianessSwitchableBitConverter.ToInt32(data[8].Data, 0); _objects5.Clear(); for (int i = 0; i < count; i++) { SavedObject1 so = new SavedObject1(); so.Parse(data[9].Data, i * 8); _objects5.Add(so); } }