20class ShowcasedScreenshots {
41 ShowcasedScreenshots& operator=(ShowcasedScreenshots
const&);
42 ShowcasedScreenshots(ShowcasedScreenshots
const&);
43 ShowcasedScreenshots();
49 MCNAPI ShowcasedScreenshots(
52 ::Bedrock::NotNullNonOwnerPtr<::Core::FileSystem>
const& fileSystem,
53 ::std::unique_ptr<::Screenshots::IScreenshotGalleryHttpCall> httpCaller
56 MCNAPI ::std::string _addScreenshotToShowcaseCallback(
58 ::std::optional<::Screenshots::RawShowcasedScreenshot>
const& rawScreenshot
64 MCNAPI ::Core::PathBuffer<::std::string> _getFeaturedImagePath();
66 MCNAPI ::Core::PathBuffer<::std::string> _getShowcasedImagePath(::std::string
const& guid,
bool isThumbnail);
68 MCNAPI
bool _loadFeaturedScreenshotCallback(::std::optional<::std::vector<uchar>>
const& rawScreenshot);
70 MCNAPI
bool _loadGalleryCallback(
71 ::std::optional<::std::vector<::Screenshots::RawShowcasedScreenshot>>
const& showcasedScreenshots
74 MCNAPI
void _pruneCache();
78 MCNAPI ::Bedrock::Threading::Async<::std::string>
81 MCNAPI ::Core::PathBuffer<::std::string>
const getFeaturedScreenshotPath()
const;
83 MCNAPI ::Bedrock::Threading::Async<bool> loadCount();
85 MCNAPI ::Bedrock::Threading::Async<bool> loadFeaturedScreenshot();
87 MCNAPI ::Bedrock::Threading::Async<bool> loadGallery();
89 MCNAPI ::Bedrock::Threading::Async<bool> loadShowcasedScreenshot(::std::string
const& guid);
91 MCNAPI ::Bedrock::Threading::Async<bool> removeFeaturedScreenshot();
93 MCNAPI ::Bedrock::Threading::Async<bool> removeShowcasedScreenshot(::std::string
const& guid);
95 MCNAPI ::Bedrock::Threading::Async<bool> setFeaturedScreenshot(::std::string
const& guid);
97 MCNAPI ~ShowcasedScreenshots();
114 ::Bedrock::NotNullNonOwnerPtr<::Core::FileSystem>
const& fileSystem,
115 ::std::unique_ptr<::Screenshots::IScreenshotGalleryHttpCall> httpCaller