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