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#ifdef LL_PLAT_S
38 public:
39 // prevent constructor by default
40 RecoveryResult& operator=(RecoveryResult const&);
41 RecoveryResult(RecoveryResult const&);
42 RecoveryResult();
43
44#else // LL_PLAT_C
45 public:
46 // prevent constructor by default
47 RecoveryResult& operator=(RecoveryResult const&);
48 RecoveryResult();
49
50#endif
51 public:
52 // member functions
53 // NOLINTBEGIN
54#ifdef LL_PLAT_C
55 MCNAPI RecoveryResult(::Bedrock::WorldRecovery::RecoveryResult const&);
56
57 MCNAPI ~RecoveryResult();
58#endif
59 // NOLINTEND
60
61 public:
62 // constructor thunks
63 // NOLINTBEGIN
64#ifdef LL_PLAT_C
65 MCNAPI void* $ctor(::Bedrock::WorldRecovery::RecoveryResult const&);
66#endif
67 // NOLINTEND
68
69 public:
70 // destructor thunk
71 // NOLINTBEGIN
72#ifdef LL_PLAT_C
73 MCNAPI void $dtor();
74#endif
75 // NOLINTEND
76 };
77
78 struct RecoveryUpdate {
79 public:
80 // member variables
81 // NOLINTBEGIN
87 // NOLINTEND
88
89 public:
90 // prevent constructor by default
91 RecoveryUpdate& operator=(RecoveryUpdate const&);
92 RecoveryUpdate(RecoveryUpdate const&);
93 RecoveryUpdate();
94
95 public:
96 // member functions
97 // NOLINTBEGIN
98#ifdef LL_PLAT_C
99 MCNAPI ~RecoveryUpdate();
100#endif
101 // NOLINTEND
102
103 public:
104 // destructor thunk
105 // NOLINTBEGIN
106#ifdef LL_PLAT_C
107 MCNAPI void $dtor();
108#endif
109 // NOLINTEND
110 };
111
112public:
113 // virtual functions
114 // NOLINTBEGIN
115 virtual void initialize() = 0;
116
117 virtual ::std::tuple<
120 doRecovery(
121 ::std::string_view,
122 ::std::function<void(::Bedrock::WorldRecovery::RecoveryUpdate const&)>,
123 ::Bedrock::PubSub::DeferralType
124 ) = 0;
125
126 virtual ::Core::PathBuffer<::std::string> const& getRecoveryDestinationPath() const = 0;
127 // NOLINTEND
128
129public:
130 // virtual function thunks
131 // NOLINTBEGIN
132
133 // NOLINTEND
134};
135
136} // namespace Bedrock
Definition EnableNonOwnerReferences.h:7
Definition _HeaderOutputPredefine.h:328
Definition DeferredSubscription.h:10
Definition Async.h:8
Definition WorldRecovery.h:18
Definition WorldRecovery.h:27
Definition WorldRecovery.h:78
Definition Alias.h:14