public BatchEntitySpawner(EntitySpawnPointFactory entitySpawnPointFactory, UweWorldEntityFactory worldEntityFactory, UwePrefabFactory prefabFactory, List <Int3> loadedPreviousParsed, ServerProtobufSerializer serializer, Dictionary <TechType, IEntityBootstrapper> customBootstrappersByTechType) { parsedBatches = new HashSet <Int3>(loadedPreviousParsed); this.worldEntityFactory = worldEntityFactory; this.prefabFactory = prefabFactory; this.customBootstrappersByTechType = customBootstrappersByTechType; batchCellsParser = new BatchCellsParser(entitySpawnPointFactory, serializer); }
public BatchEntitySpawner(EntitySpawnPointFactory entitySpawnPointFactory, UweWorldEntityFactory worldEntityFactory, UwePrefabFactory prefabFactory, List <NitroxInt3> loadedPreviousParsed, ServerProtoBufSerializer serializer, Dictionary <NitroxTechType, IEntityBootstrapper> customBootstrappersByTechType, Dictionary <string, PrefabPlaceholdersGroupAsset> prefabPlaceholderGroupsbyClassId, string seed) { parsedBatches = new HashSet <NitroxInt3>(loadedPreviousParsed); this.worldEntityFactory = worldEntityFactory; this.prefabFactory = prefabFactory; this.customBootstrappersByTechType = customBootstrappersByTechType; this.prefabPlaceholderGroupsbyClassId = prefabPlaceholderGroupsbyClassId; this.seed = seed; batchCellsParser = new BatchCellsParser(entitySpawnPointFactory, serializer); }