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/ConflictResolutionStatus.h"
7#include "mc/client/game/edu_cloud/DrivePaths.h"
8#include "mc/client/game/edu_cloud/LaunchOptions.h"
9#include "mc/client/game/edu_cloud/UploadWorldProgress.h"
10#include "mc/client/services/ms_graph/GraphResponse.h"
11#include "mc/client/util/edu_cloud_utils/Operation.h"
12#include "mc/client/util/edu_cloud_utils/UploadType.h"
13#include "mc/deps/core/threading/IAsyncResult.h"
14#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
15#include "mc/platform/Copyable.h"
16#include "mc/platform/Result.h"
17
18// auto generated forward declare list
19// clang-format off
20struct LevelSummary;
21namespace MSGraph::Models { struct DownloadUrlInfo; }
22namespace MSGraph::Models { struct DriveItem; }
23namespace MSGraph::Models { struct DriveItemCollection; }
24namespace MSGraph::Models { struct GraphError; }
25namespace MSGraph::Models { struct UploadSession; }
26// clang-format on
27
28namespace EduCloud {
29
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~IEduCloudSaveSystem() /*override*/ = default;
36
37 // vIndex: 1
38 virtual void update() = 0;
39
40 // vIndex: 2
41 virtual bool needsCloudChecks(::LevelSummary&, ::EduCloud::LaunchOptions) = 0;
42
43 // vIndex: 3
44 virtual bool readyToLaunch(::std::string&, ::EduCloud::LaunchOptions&) = 0;
45
46 // vIndex: 4
47 virtual void onLocalLaunch(::std::string const&) = 0;
48
49 // vIndex: 5
50 virtual bool getShowingConflictPopup() = 0;
51
52 // vIndex: 6
53 virtual void setShowingConflictPopup(bool) = 0;
54
55 // vIndex: 7
56 virtual void
57 queueCloudWorldDownload(::std::string const&, ::std::string const&, ::EduCloud::LaunchOptions, bool const) = 0;
58
59 // vIndex: 8
60 virtual ::EduCloudUtils::Operation getCurrentOperation() = 0;
61
62 // vIndex: 9
63 virtual ::EduCloudUtils::UploadType getUploadType() = 0;
64
65 // vIndex: 10
66 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<
68 getUploadFolderUrl() = 0;
69
70 // vIndex: 11
71 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Copyable<::Bedrock::Result<bool>>>> upload(
72 ::std::string const&,
73 ::std::string const&,
74 ::std::function<void(::EduCloud::UploadWorldProgress, ::MSGraph::GraphResponse)>,
75 ::std::function<void(uint64, uint64)>,
76 bool
77 ) = 0;
78
79 // vIndex: 12
80 virtual ::std::string getFolderDisplayName() = 0;
81
82 // vIndex: 13
83 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<
85 fetchEduCloudWorlds(::std::string, ::EduCloud::DrivePaths) = 0;
86
87 // vIndex: 14
88 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<
90 getDownloadUrlInfo(::std::string const&) = 0;
91
92 // vIndex: 15
93 virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<
95 getEduCloudWorldById(::std::string const&) = 0;
96
97 // vIndex: 16
98 virtual ::EduCloud::ConflictResolutionStatus
99 determineConflictResolutionStatus(::std::string const&, ::std::string const&, bool, bool) = 0;
100
101 // vIndex: 17
102 virtual ::std::shared_ptr<
104 deleteItemById(::std::string const&) = 0;
105 // NOLINTEND
106
107public:
108 // destructor thunk
109 // NOLINTBEGIN
110
111 // NOLINTEND
112
113public:
114 // virtual function thunks
115 // NOLINTBEGIN
116
117 // NOLINTEND
118};
119
120} // namespace EduCloud
Definition Copyable.h:8
Definition EnableNonOwnerReferences.h:7
Definition IAsyncResult.h:8
Definition IEduCloudSaveSystem.h:30
Definition LevelSummary.h:27