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/EnableNonOwnerReferences.h"
9#include "mc/deps/core/utility/NonOwnerPointer.h"
10
11// auto generated forward declare list
12// clang-format off
17class Pack;
18class PackSource;
22struct PackIdVersion;
23namespace Core { class Path; }
24namespace Realms { class RealmsServicePackSource; }
25namespace mce { class UUID; }
26// clang-format on
27
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual ~IPackSourceFactory() /*override*/;
34
35 // vIndex: 2
36 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
37 ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager const> const&,
38 ::mce::UUID const&,
39 ::PackType,
40 ::PackOrigin
41 ) = 0;
42
43 // vIndex: 1
44 virtual ::WorldTemplatePackSource& createWorldTemplatePackSource(
45 ::std::unique_ptr<::WorldTemplateCollectionView>,
46 ::mce::UUID const&,
47 ::PackType,
48 ::PackOrigin
49 ) = 0;
50
51 // vIndex: 3
52 virtual ::WorldTemplatePackSource* getWorldTemplatePackSource(::mce::UUID const&, ::PackType) const = 0;
53
54 // vIndex: 4
55 virtual ::DirectoryPackSource& createDirectoryPackSource(::Core::Path const&, ::PackType, ::PackOrigin, bool) = 0;
56
57 // vIndex: 5
58 virtual ::DirectoryPackSource* getDirectoryPackSource(::Core::Path const&, ::PackType) const = 0;
59
60 // vIndex: 6
61 virtual ::InPackagePackSource& createInPackagePackSource(::PackType) = 0;
62
63 // vIndex: 7
64 virtual ::InPackagePackSource* getInPackagePackSource(::PackType) = 0;
65
66 // vIndex: 8
67 virtual ::WorldHistoryPackSource& createWorldHistoryPackSource(::Core::Path const&, ::PackType) = 0;
68
69 // vIndex: 9
70 virtual ::WorldHistoryPackSource* getWorldHistoryPackSource(::Core::Path const&, ::PackType) const = 0;
71
72 // vIndex: 10
73 virtual ::std::unique_ptr<::CompositePackSource> createCompositePackSource(::std::vector<::PackSource*>) = 0;
74
75 // vIndex: 11
76 virtual ::DirectoryPackSource* getDirectoryPackSourceContaining(::PackIdVersion const&) const = 0;
77
78 // vIndex: 12
79 virtual void removeFromDirectoryPackSource(::Core::Path const&) = 0;
80
81 // vIndex: 13
82 virtual ::std::unique_ptr<::Realms::RealmsServicePackSource>
83 createRealmsServicePackSource(int64, ::PackType, ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&&) = 0;
84 // NOLINTEND
85
86public:
87 // destructor thunk
88 // NOLINTBEGIN
89 MCNAPI void $dtor();
90 // NOLINTEND
91
92public:
93 // virtual function thunks
94 // NOLINTBEGIN
95
96 // NOLINTEND
97};
Definition EnableNonOwnerReferences.h:7
Definition CompositePackSource.h:16
Definition Path.h:11
Definition DirectoryPackSource.h:19
Definition IPackSourceFactory.h:28
MCAPI void $dtor()
Definition IWorldTemplateManager.h:17
Definition InPackagePackSource.h:16
Definition PackSource.h:24
Definition Pack.h:27
Definition Path.h:16
Definition WorldHistoryPackSource.h:19
Definition WorldTemplateCollectionView.h:13
Definition WorldTemplatePackSource.h:21
Definition UUID.h:7
Definition PackIdVersion.h:10