LeviLamina
Loading...
Searching...
No Matches
IWorldTemplateManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7
8// auto generated forward declare list
9// clang-format off
11struct PackIdVersion;
13namespace Bedrock::PubSub { class Subscription; }
14namespace mce { class UUID; }
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 // vIndex: 0
22 virtual ~IWorldTemplateManager() /*override*/;
23
24 // vIndex: 1
25 virtual void flushResourceLoaderTasks() = 0;
26
27 // vIndex: 2
28 virtual ::WorldTemplateInfo const* findInstalledWorldTemplateByUUID(::std::vector<::mce::UUID> const&) const = 0;
29
30 // vIndex: 3
31 virtual ::Bedrock::PubSub::Subscription
32 registerModifiedCallback(::std::function<void(::std::pair<::std::string, bool> const&)>) = 0;
33
34 // vIndex: 4
35 virtual ::std::vector<::std::unique_ptr<::WorldTemplateInfo const>> const& getLocalTemplates() const = 0;
36
37 // vIndex: 5
38 virtual void populateWorldTemplates() = 0;
39
40 // vIndex: 6
41 virtual uint64 getWorldTemplateSize() const = 0;
42
43 // vIndex: 7
44 virtual ::WorldTemplateInfo const& getWorldTemplateAtIndex(int) const = 0;
45
46 // vIndex: 8
47 virtual void deleteWorldTemplateAndFiles(::PackIdVersion const&) = 0;
48
49 // vIndex: 9
50 virtual ::WorldTemplateInfo const* findInstalledWorldTemplate(::PackIdVersion const&) const = 0;
51
52 // vIndex: 10
53 virtual ::WorldTemplateCollectionView createView(::mce::UUID const&) const = 0;
54
55 // vIndex: 11
56 virtual void forEachWorldTemplate(::std::function<void(::WorldTemplateInfo const&)> const&) const = 0;
57
58 // vIndex: 12
59 virtual bool isInitialized() const = 0;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCNAPI void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71
72 // NOLINTEND
73};
Definition EnableNonOwnerReferences.h:7
Definition IWorldTemplateManager.h:17
Definition WorldTemplateCollectionView.h:13
Definition UUID.h:7
Definition PackIdVersion.h:10
Definition WorldTemplateInfo.h:15