LeviLamina
Loading...
Searching...
No Matches
WorldRecovery.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/deps/core/threading/Async.h"
8#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
9#include "mc/deps/core/utility/pub_sub/DeferralType.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace Bedrock::PubSub { class DeferredSubscription; }
14// clang-format on
15
16namespace Bedrock {
17
18class WorldRecovery : public ::Bedrock::EnableNonOwnerReferences, public ::Bedrock::ImplBase<::Bedrock::WorldRecovery> {
19public:
20 // WorldRecovery inner types declare
21 // clang-format off
22 struct RecoveryResult;
23 struct RecoveryUpdate;
24 // clang-format on
25
26 // WorldRecovery inner types define
27 struct RecoveryResult {
28 public:
29 // member variables
30 // NOLINTBEGIN
35 // NOLINTEND
36
37 public:
38 // prevent constructor by default
39 RecoveryResult& operator=(RecoveryResult const&);
40 RecoveryResult(RecoveryResult const&);
41 RecoveryResult();
42
43 public:
44 // member functions
45 // NOLINTBEGIN
46#ifdef LL_PLAT_C
47 MCNAPI ~RecoveryResult();
48#endif
49 // NOLINTEND
50
51 public:
52 // destructor thunk
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI void $dtor();
56#endif
57 // NOLINTEND
58 };
59
60 struct RecoveryUpdate {
61 public:
62 // member variables
63 // NOLINTBEGIN
69 // NOLINTEND
70
71 public:
72 // prevent constructor by default
73 RecoveryUpdate& operator=(RecoveryUpdate const&);
74 RecoveryUpdate(RecoveryUpdate const&);
75 RecoveryUpdate();
76
77 public:
78 // member functions
79 // NOLINTBEGIN
80#ifdef LL_PLAT_C
81 MCNAPI ~RecoveryUpdate();
82#endif
83 // NOLINTEND
84
85 public:
86 // destructor thunk
87 // NOLINTBEGIN
88#ifdef LL_PLAT_C
89 MCNAPI void $dtor();
90#endif
91 // NOLINTEND
92 };
93
94public:
95 // virtual functions
96 // NOLINTBEGIN
97 virtual void initialize() = 0;
98
99 virtual ::std::tuple<
102 doRecovery(
103 ::std::string_view,
104 ::std::function<void(::Bedrock::WorldRecovery::RecoveryUpdate const&)>,
105 ::Bedrock::PubSub::DeferralType
106 ) = 0;
107
108 virtual ::Core::PathBuffer<::std::string> const& getRecoveryDestinationPath() const = 0;
109
110 virtual ~WorldRecovery() /*override*/ = default;
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116
117 // NOLINTEND
118};
119
120} // namespace Bedrock
Definition EnableNonOwnerReferences.h:7
Definition _HeaderOutputPredefine.h:260
Definition DeferredSubscription.h:10
Definition Async.h:8
Definition WorldRecovery.h:18
Definition WorldRecovery.h:27
Definition WorldRecovery.h:60
Definition Alias.h:14