LeviLamina
Loading...
Searching...
No Matches
EditorRealmsServiceProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/EditorRealmsServiceAvailability.h"
7#include "mc/common/editor/RealmsServiceStatus.h"
8#include "mc/common/editor/RealmsWorldUploadResult.h"
9
10// auto generated forward declare list
11// clang-format off
12class WeakEntityRef;
13namespace Bedrock::PubSub { class Subscription; }
14namespace Editor { class GameOptions; }
15namespace Editor::Services { struct EditorRealmsWorld; }
16namespace Editor::Services { struct EditorRealmsWorldSlot; }
17// clang-format on
18
19namespace Editor::Services {
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 0
26 virtual ~EditorRealmsServiceProvider() = default;
27
28 // vIndex: 1
29 virtual ::std::vector<::Editor::Services::EditorRealmsWorld> const getRealmWorldlist() const = 0;
30
31 // vIndex: 2
32 virtual ::std::vector<::Editor::Services::EditorRealmsWorldSlot> const getSlots() const = 0;
33
34 // vIndex: 3
35 virtual ::Editor::Services::RealmsServiceStatus const getServiceStatus() const = 0;
36
37 // vIndex: 4
38 virtual void loadRealmsWorldList() = 0;
39
40 // vIndex: 5
41 virtual void loadRealmsWorldSlots(::std::string const&) = 0;
42
43 // vIndex: 6
44 virtual void downloadRealmWorld(::std::string const&, int const) = 0;
45
46 // vIndex: 7
47 virtual void beginLoadRealmWorldList(::WeakEntityRef) = 0;
48
49 // vIndex: 8
50 virtual void beginLoadRealmSlots(::std::string const&, ::WeakEntityRef) = 0;
51
52 // vIndex: 9
53 virtual void beginDownloadWorld(::std::string const&, int, ::WeakEntityRef) = 0;
54
55 // vIndex: 10
56 virtual ::Bedrock::PubSub::Subscription
57 listenForRealmsWorldListLoaded(::std::function<void(::std::vector<::Editor::Services::EditorRealmsWorld>)>) = 0;
58
59 // vIndex: 11
60 virtual ::Bedrock::PubSub::Subscription listenForRealmsWorldSlotsLoaded(
61 ::std::function<void(::std::vector<::Editor::Services::EditorRealmsWorldSlot>)>
62 ) = 0;
63
64 // vIndex: 12
65 virtual ::Bedrock::PubSub::Subscription listenForRealmsWorldDownload(::std::function<void(bool)>) = 0;
66
67 // vIndex: 13
68 virtual void beginUploadToRealms(
69 ::std::string,
70 int,
73 ::std::function<void(::Editor::Services::RealmsWorldUploadResult const&)>
74 ) = 0;
75
76 // vIndex: 14
77 virtual bool const canUploadWorld() const = 0;
78
79 // vIndex: 15
80 virtual ::Editor::Services::EditorRealmsServiceAvailability const isRealmsServiceAvailable() const = 0;
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86
87 // NOLINTEND
88};
89
90} // namespace Editor::Services
Definition GameOptions.h:15
Definition EditorRealmsServiceProvider.h:21
Definition WeakEntityRef.h:14