LeviLamina
Loading...
Searching...
No Matches
IEduCloudSaveSystem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/game/edu_cloud/CloudItemType.h"
7#include "mc/client/game/edu_cloud/ConflictResolutionStatus.h"
8#include "mc/client/game/edu_cloud/DrivePaths.h"
9#include "mc/client/game/edu_cloud/LaunchOptions.h"
10#include "mc/client/game/edu_cloud/UploadWorldProgress.h"
11#include "mc/client/services/ms_graph/GraphResponse.h"
12#include "mc/client/util/edu_cloud_utils/Operation.h"
13#include "mc/client/util/edu_cloud_utils/UploadType.h"
14#include "mc/common/edu_cloud_proxy/Operation.h"
15#include "mc/deps/core/threading/Async.h"
16#include "mc/deps/core/threading/IAsyncResult.h"
17#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
18#include "mc/platform/Copyable.h"
19#include "mc/platform/Result.h"
20
21// auto generated forward declare list
22// clang-format off
23struct LevelSummary;
24namespace EduCloudProxy { struct CloudProject; }
25namespace MSGraph::Models { struct DownloadUrlInfo; }
26namespace MSGraph::Models { struct DriveItem; }
27namespace MSGraph::Models { struct DriveItemCollection; }
28namespace MSGraph::Models { struct GraphError; }
29// clang-format on
30
31namespace EduCloud {
32
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~IEduCloudSaveSystem() /*override*/ = default;
39
40 // vIndex: 1
41 virtual void update() = 0;
42
43 // vIndex: 2
44 virtual bool needsCloudChecks(::LevelSummary&, ::EduCloud::LaunchOptions) = 0;
45
46 // vIndex: 3
47 virtual bool readyToLaunch(::std::string&, ::EduCloud::LaunchOptions&) = 0;
48
49 // vIndex: 4
50 virtual void onLocalLaunch(::std::string const&) = 0;
51
52 // vIndex: 5
53 virtual bool getShowingConflictPopup() = 0;
54
55 // vIndex: 6
56 virtual void setShowingConflictPopup(bool) = 0;
57
58 // vIndex: 7
59 virtual void
60 queueCloudWorldDownload(::std::string const&, ::std::string const&, ::EduCloud::LaunchOptions, bool const) = 0;
61
62 // vIndex: 8
63 virtual ::EduCloudUtils::Operation getCurrentOperation() = 0;
64
65 // vIndex: 9
66 virtual ::EduCloudUtils::UploadType getWorldUploadType() = 0;
67
68 // vIndex: 10
69 virtual void receivedMakeCodeRequest(
70 ::std::string const,
71 ::EduCloudProxy::Operation const,
72 ::std::string const,
73 ::std::vector<::std::string> const,
75 ) = 0;
76
77 // vIndex: 11
78 virtual void initializeCloudProxy(::std::function<void(::std::string const&)>) = 0;
79
80 // vIndex: 12
81 virtual ::Bedrock::Threading::Async<
83 getUploadFolderUrl() = 0;
84
85 // vIndex: 13
86 virtual ::Bedrock::Threading::Async<::Bedrock::Copyable<::Bedrock::Result<bool>>> uploadWorld(
87 ::std::string const&,
88 ::std::string const&,
89 ::std::function<void(::EduCloud::UploadWorldProgress, ::MSGraph::GraphResponse)>,
90 ::std::function<void(uint64, uint64)>,
91 bool
92 ) = 0;
93
94 // vIndex: 14
95 virtual ::Bedrock::Threading::Async<::Bedrock::Copyable<::Bedrock::Result<bool>>>
96 uploadMakeCodeProject(::std::string const, ::EduCloudProxy::CloudProject&) = 0;
97
98 // vIndex: 15
99 virtual ::std::string getFolderDisplayName() = 0;
100
101 // vIndex: 16
102 virtual ::Bedrock::Threading::Async<
104 fetch(::EduCloud::CloudItemType, ::std::string, ::EduCloud::DrivePaths) = 0;
105
106 // vIndex: 17
107 virtual ::Bedrock::Threading::Async<
109 getDownloadUrlInfo(::EduCloud::CloudItemType const, ::std::string const&) = 0;
110
111 // vIndex: 18
112 virtual ::Bedrock::Threading::Async<
114 getCloudItemById(::EduCloud::CloudItemType const, ::std::string const&) = 0;
115
116 // vIndex: 19
117 virtual ::EduCloud::ConflictResolutionStatus
118 determineConflictResolutionStatus(::std::string const&, ::std::string const&, bool, bool) = 0;
119
120 // vIndex: 20
121 virtual ::Bedrock::Threading::Async<::Bedrock::Copyable<::Bedrock::Result<::MSGraph::Models::GraphError>>>
122 deleteItemById(::std::string const&) = 0;
123 // NOLINTEND
124
125public:
126 // virtual function thunks
127 // NOLINTBEGIN
128
129 // NOLINTEND
130};
131
132} // namespace EduCloud
Definition Copyable.h:8
Definition EnableNonOwnerReferences.h:7
Definition CloudProject.h:7
Definition IEduCloudSaveSystem.h:33
Definition LevelSummary.h:27