LeviLamina
Loading...
Searching...
No Matches
IScreenshotGalleryHttpCall.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
9// auto generated forward declare list
10// clang-format off
11class TaskGroup;
12namespace Social { struct XUID; }
13namespace Screenshots { struct GallerySize; }
14namespace Screenshots { struct RawShowcasedScreenshot; }
15// clang-format on
16
17namespace Screenshots {
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual ~IScreenshotGalleryHttpCall() = default;
24
25 virtual ::Bedrock::Threading::Async<::std::optional<::std::vector<::Screenshots::RawShowcasedScreenshot>>>
26 getGallery(::TaskGroup& taskGroup, ::Social::XUID xuid) = 0;
27
28 virtual ::Bedrock::Threading::Async<::std::optional<::Screenshots::GallerySize>>
29 getGallerySize(::TaskGroup& taskGroup, ::Social::XUID xuid) = 0;
30
31 virtual ::Bedrock::Threading::Async<::std::optional<::std::vector<uchar>>>
32 getImage(::TaskGroup& taskGroup, ::std::string const& imageUrl) = 0;
33
34 virtual ::Bedrock::Threading::Async<::std::optional<::std::vector<uchar>>>
35 getFeaturedImage(::TaskGroup& taskGroup, ::Social::XUID xuid) = 0;
36
37 virtual ::Bedrock::Threading::Async<::std::optional<::Screenshots::RawShowcasedScreenshot>> addImageToShowcase(
38 ::TaskGroup& taskGroup,
39 int64 captureTime,
40 bool featured,
42 ) = 0;
43
44 virtual ::Bedrock::Threading::Async<bool>
45 removeShowcasedImage(::TaskGroup& taskGroup, ::std::string const& guid) = 0;
46
47 virtual ::Bedrock::Threading::Async<bool> setFeaturedImage(::TaskGroup& taskGroup, ::std::string const& guid) = 0;
48
49 virtual ::Bedrock::Threading::Async<bool> removeFeaturedImage(::TaskGroup& taskGroup) = 0;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55
56 // NOLINTEND
57};
58
59} // namespace Screenshots
Definition PathBuffer.h:8
Definition IScreenshotGalleryHttpCall.h:19
Definition TaskGroup.h:57
Definition GallerySize.h:7
Definition RawShowcasedScreenshot.h:7
Definition XUID.h:10