LeviLamina
Loading...
Searching...
No Matches
IPackSourceFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/PackOrigin.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9
10// auto generated forward declare list
11// clang-format off
16class PackSource;
20struct PackIdVersion;
21namespace Core { class Path; }
22namespace mce { class UUID; }
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 0
30 virtual ~IPackSourceFactory() = default;
31
32 // vIndex: 2
33 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
34 ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager const> const&,
35 ::mce::UUID const&,
36 ::PackType,
37 ::PackOrigin
38 ) = 0;
39
40 // vIndex: 1
41 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
42 ::std::unique_ptr<::WorldTemplateCollectionView>,
43 ::mce::UUID const&,
44 ::PackType,
45 ::PackOrigin
46 ) = 0;
47
48 // vIndex: 3
49 virtual ::WorldTemplatePackSource* getWorldTemplatePackSource(::mce::UUID const&, ::PackType) const = 0;
50
51 // vIndex: 4
52 virtual ::DirectoryPackSource& createDirectoryPackSource(::Core::Path const&, ::PackType, ::PackOrigin, bool) = 0;
53
54 // vIndex: 5
55 virtual ::DirectoryPackSource* getDirectoryPackSource(::Core::Path const&, ::PackType) const = 0;
56
57 // vIndex: 6
58 virtual ::InPackagePackSource& createInPackagePackSource(::PackType) = 0;
59
60 // vIndex: 7
61 virtual ::InPackagePackSource* getInPackagePackSource(::PackType) = 0;
62
63 // vIndex: 8
64 virtual ::WorldHistoryPackSource& createWorldHistoryPackSource(::Core::Path const&, ::PackType) = 0;
65
66 // vIndex: 9
67 virtual ::WorldHistoryPackSource* getWorldHistoryPackSource(::Core::Path const&, ::PackType) const = 0;
68
69 // vIndex: 10
70 virtual ::std::unique_ptr<::CompositePackSource> createCompositePackSource(::std::vector<::PackSource*>) = 0;
71
72 // vIndex: 11
73 virtual ::DirectoryPackSource* getDirectoryPackSourceContaining(::PackIdVersion const&) const = 0;
74
75 // vIndex: 12
76 virtual void removeFromDirectoryPackSource(::Core::Path const&) = 0;
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82
83 // NOLINTEND
84};
Definition CompositePackSource.h:15
Definition Path.h:17
Definition DirectoryPackSource.h:18
Definition IPackSourceFactory.h:25
Definition IWorldTemplateManager.h:17
Definition InPackagePackSource.h:16
Definition PackSource.h:23
Definition Path.h:16
Definition WorldHistoryPackSource.h:19
Definition WorldTemplateCollectionView.h:13
Definition WorldTemplatePackSource.h:21
Definition UUID.h:7
Definition PackIdVersion.h:10