LeviLamina
Loading...
Searching...
No Matches
IContentAcquisition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/services/download/InitiatorCategory.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8#include "mc/util/NewType.h"
9
10// auto generated forward declare list
11// clang-format off
13class DlcId;
14class IContentTracker;
16struct DurableDocument;
17struct PackIdVersion;
19// clang-format on
20
22public:
23 // IContentAcquisition inner types declare
24 // clang-format off
25 struct ImportCallbackId;
26 // clang-format on
27
28 // IContentAcquisition inner types define
29 struct ImportCallbackId : public ::NewType<uint64> {};
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~IContentAcquisition() = default;
36
37 // vIndex: 1
38 virtual void triggerBlockingPendingImports() = 0;
39
40 // vIndex: 2
41 virtual void triggerPendingImportsFor(::PackIdVersion const&) = 0;
42
43 // vIndex: 3
44 virtual ::std::vector<::DlcId> getPendingImports() const = 0;
45
46 // vIndex: 4
47 virtual ::std::vector<::DlcId> getPendingAndActiveImports() const = 0;
48
49 // vIndex: 5
50 virtual void
51 searchForDlcIdsByPackIds(::std::vector<::PackIdVersion> const&, ::std::function<void(::std::vector<::DlcId> const&)>) = 0;
52
53 // vIndex: 6
54 virtual void checkStorageRequirements(::std::vector<::DlcId> const&, ::std::function<void(bool, uint64)>) = 0;
55
56 // vIndex: 7
57 virtual void
58 getTitles(::std::vector<::DlcId> const&, ::std::function<void(::std::vector<::std::string> const&)>) = 0;
59
60 // vIndex: 8
61 virtual ::IContentTracker& createContentTrackerFor(::DlcId const&) = 0;
62
63 // vIndex: 9
64 virtual void beginPackDownload(::DlcId const&, ::InitiatorCategory, bool) = 0;
65
66 // vIndex: 10
67 virtual void beginTreatmentPackDownload(::DlcId const&) = 0;
68
69 // vIndex: 11
70 virtual void beginSystemServicePackDownload(::DlcId const&) = 0;
71
72 // vIndex: 12
73 virtual void beginWorldPackDownload(::DlcId const&) = 0;
74
75 // vIndex: 13
76 virtual void interruptAllDownloads() = 0;
77
78 // vIndex: 14
79 virtual void pauseAllDownloads() = 0;
80
81 // vIndex: 15
82 virtual void pauseDownload(::DlcId const&) = 0;
83
84 // vIndex: 16
85 virtual void resumeAllDownloads() = 0;
86
87 // vIndex: 17
88 virtual void resumeDownload(::DlcId const&) = 0;
89
90 // vIndex: 18
91 virtual void cancelAllDownloads() = 0;
92
93 // vIndex: 19
94 virtual void cancelDownload(::DlcId const&) = 0;
95
96 // vIndex: 20
97 virtual void cancelInactiveDownload(::DlcId const&) = 0;
98
99 // vIndex: 21
100 virtual void cancelPendingDownload(::DlcId const&) = 0;
101
102 // vIndex: 22
103 virtual void cancelPendingImport(::DlcId const&) = 0;
104
105 // vIndex: 23
106 virtual void addDownloadCallback(::std::weak_ptr<bool>, ::std::function<void(::DownloadStateObject&)>) = 0;
107
108 // vIndex: 24
109 virtual void addUpdateFoundCallback(::std::function<void(::std::string const&, ::DurableDocument const&)>) = 0;
110
111 // vIndex: 25
112 virtual ::IContentAcquisition::ImportCallbackId
113 addPackImportCallback(::std::weak_ptr<bool>, ::std::function<void(::PackImportStateObject&)>) = 0;
114
115 // vIndex: 26
116 virtual void removePackImportCallback(::IContentAcquisition::ImportCallbackId) = 0;
117
118 // vIndex: 27
119 virtual bool areAnyDownloadsActive() const = 0;
120
121 // vIndex: 28
122 virtual bool isDownloadActiveForAny(::std::vector<::DlcId> const&) const = 0;
123
124 // vIndex: 29
125 virtual bool isDownloadActiveFor(::DlcId const&) const = 0;
126
127 // vIndex: 30
128 virtual uint64 getDownloadSize(::DlcId const&) const = 0;
129
130 // vIndex: 31
131 virtual uint64 getDownloadedBytes(::DlcId const&) const = 0;
132
133 // vIndex: 32
134 virtual float getDownloadProgress(::DlcId const&) const = 0;
135
136 // vIndex: 33
137 virtual float getAllDownloadProgress() const = 0;
138
139 // vIndex: 34
140 virtual bool isDownloadComplete(::DlcId const&) const = 0;
141
142 // vIndex: 35
143 virtual bool isContentTrackerDownloadComplete(::DlcId const&) const = 0;
144
145 // vIndex: 36
146 virtual void clearCompletedDownloads() = 0;
147
148 // vIndex: 37
149 virtual bool hasDownloadFailedForAny(::std::vector<::DlcId> const&) const = 0;
150
151 // vIndex: 38
152 virtual bool hasDownloadCancelledForAny(::std::vector<::DlcId> const&) const = 0;
153
154 // vIndex: 39
155 virtual void removeFromCancelledDownloads(::std::vector<::DlcId> const&) = 0;
156
157 // vIndex: 40
158 virtual bool hasDownloadFailedFor(::DlcId const&) const = 0;
159
160 // vIndex: 41
161 virtual bool areAnyImportsWaiting() const = 0;
162
163 // vIndex: 42
164 virtual bool areAnyImportsActive() const = 0;
165
166 // vIndex: 43
167 virtual bool areAnyBlockingImportsWaiting() const = 0;
168
169 // vIndex: 44
170 virtual bool areAnyBlockingImportsActive() const = 0;
171
172 // vIndex: 45
173 virtual bool isImportActiveForAny(::std::vector<::DlcId> const&) const = 0;
174
175 // vIndex: 46
176 virtual bool isImportActiveFor(::DlcId const&) const = 0;
177
178 // vIndex: 47
179 virtual bool isImportWaitingFor(::DlcId const&) const = 0;
180
181 // vIndex: 48
182 virtual uint64 getImportTotal(::DlcId const&) const = 0;
183
184 // vIndex: 49
185 virtual uint64 getImportedCount(::DlcId const&) const = 0;
186
187 // vIndex: 50
188 virtual float getImportProgress(::DlcId const&) const = 0;
189
190 // vIndex: 51
191 virtual float getAllImportProgress() const = 0;
192
193 // vIndex: 52
194 virtual bool isDownloadOrImportInProgressFor(::DlcId const&) const = 0;
195
196 // vIndex: 53
197 virtual bool isDownloadOrImportInProgressForAny(::std::vector<::DlcId> const&) const = 0;
198
199 // vIndex: 54
200 virtual ::Bedrock::NotNullNonOwnerPtr<::DlcBatchThrottleBridge> getThrottleBridge() = 0;
201 // NOLINTEND
202
203public:
204 // destructor thunk
205 // NOLINTBEGIN
206
207 // NOLINTEND
208
209public:
210 // virtual function thunks
211 // NOLINTBEGIN
212
213 // NOLINTEND
214};
Definition DlcBatchThrottleBridge.h:5
Definition DlcId.h:5
Definition IContentAcquisition.h:21
Definition IContentTracker.h:5
Definition DownloadStateObject.h:5
Definition DurableDocument.h:5
Definition IContentAcquisition.h:29
Definition NewType.h:6
Definition PackIdVersion.h:14
Definition PackImportStateObject.h:5