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