41 template <
typename T0>
47 ::ll::TypedStorage<8, 104, ::PackSourceFactory::SourcesList<::std::unique_ptr<::TreatmentPackSource>>>
48 mTreatmentPackSources;
49 ::ll::TypedStorage<8, 104, ::PackSourceFactory::SourcesList<::std::unique_ptr<::DirectoryPackSource>>>
50 mDirectoryPackSources;
51 ::ll::TypedStorage<8, 104, ::PackSourceFactory::SourcesList<::std::unique_ptr<::InPackagePackSource>>>
52 mInPackagePackSources;
53 ::ll::TypedStorage<8, 104, ::PackSourceFactory::SourcesList<::std::unique_ptr<::WorldHistoryPackSource>>>
54 mWorldHistoryPackSources;
55 ::ll::TypedStorage<8, 104, ::PackSourceFactory::SourcesList<::std::unique_ptr<::WorldTemplatePackSource>>>
56 mWorldTemplatePackSources;
57 ::ll::TypedStorage<8, 16, ::RealmsUnknownPackSources> mRealmsUnknownPackSources;
58 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::IInPackagePacks>> mInPackagePacksProvider;
59 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IPackIOProvider>
const> mIO;
60 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::PackCommand::IPackCommandPipeline>> mCommands;
70 virtual ~PackSourceFactory() ;
73 virtual ::TreatmentPackSource&
74 createTreatmentPackSource(
::Core::Path const& path, ::PackType packType) ;
76 virtual ::TreatmentPackSource* getTreatmentPackSource(
::Core::Path const& path, ::PackType packType)
const
79 virtual void removeFromTreatmentPackSource(
::Core::Path const& fullPathToPack) ;
82 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
83 ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager const>
const& worldTemplateManager,
86 ::PackOrigin packOrigin
89 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
90 ::std::unique_ptr<::WorldTemplateCollectionView> view,
93 ::PackOrigin packOrigin
96 virtual ::WorldTemplatePackSource*
97 getWorldTemplatePackSource(
::mce::UUID const& worldTemplateId, ::PackType packType)
const ;
99 virtual ::DirectoryPackSource& createDirectoryPackSource(
102 ::PackOrigin packOrigin,
106 virtual ::DirectoryPackSource* getDirectoryPackSource(
::Core::Path const& path, ::PackType packType)
const
109 virtual ::InPackagePackSource& createInPackagePackSource(::PackType packType) ;
111 virtual ::InPackagePackSource* getInPackagePackSource(::PackType packType) ;
113 virtual ::WorldHistoryPackSource&
114 createWorldHistoryPackSource(
::Core::Path const& pathToWorld, ::PackType packType) ;
116 virtual ::WorldHistoryPackSource*
117 getWorldHistoryPackSource(
::Core::Path const& pathToWorld, ::PackType packType)
const ;
119 virtual ::DirectoryPackSource* getDirectoryPackSourceContaining(
::PackIdVersion const& packId)
const ;
121 virtual void removeFromDirectoryPackSource(
::Core::Path const& fullPathToPack) ;
123 virtual ::std::unique_ptr<::Realms::RealmsServicePackSource> createRealmsServicePackSource(
126 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&& servicePackData
129 virtual ::std::unique_ptr<::CompositePackSource>
130 createCompositePackSource(::std::vector<::PackSource*> sources) ;
137 ::gsl::not_null<::std::shared_ptr<::IInPackagePacks>
const> inPackagePacks,
138 ::std::unique_ptr<::IPackIOProvider> io,
139 ::Bedrock::NotNullNonOwnerPtr<::PackCommand::IPackCommandPipeline> commands
145 ::PackOrigin packOrigin,
154 ::gsl::not_null<::std::shared_ptr<::IInPackagePacks>
const> inPackagePacks,
155 ::std::unique_ptr<::IPackIOProvider> io,
156 ::Bedrock::NotNullNonOwnerPtr<::PackCommand::IPackCommandPipeline> commands
170 ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager const>
const& worldTemplateManager,
173 ::PackOrigin packOrigin
177 ::std::unique_ptr<::WorldTemplateCollectionView> view,
180 ::PackOrigin packOrigin
183 MCNAPI ::WorldTemplatePackSource*
189 ::PackOrigin packOrigin,
199 MCNAPI ::WorldHistoryPackSource&
202 MCNAPI ::WorldHistoryPackSource*
212 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&& servicePackData
218 MCNAPI ::TreatmentPackSource& $createTreatmentPackSource(
::Core::Path const& path, ::PackType packType);
220 MCNAPI ::TreatmentPackSource* $getTreatmentPackSource(
::Core::Path const& path, ::PackType packType)
const;
222 MCNAPI
void $removeFromTreatmentPackSource(
::Core::Path const& fullPathToPack);
Definition WorldHistoryPackSource.h:20