3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/file/PathBuffer.h"
7#include "mc/world/level/BlockPos.h"
23 ::ll::TypedStorage<8, 8, ::Player&> mPlayer;
24 ::ll::TypedStorage<4, 16, ::std::optional<::BlockPos>> mLecternPos;
25 ::ll::TypedStorage<4, 4, int> mBookSlot;
26 ::ll::TypedStorage<8, 8, ::PacketSender&> mPacketSender;
27 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SyncedPhotoView>> mPhotoView;
28 ::ll::TypedStorage<8, 24, ::std::vector<::Core::PathBuffer<::std::string>>> mPickPictures;
29 ::ll::TypedStorage<8, 24, ::std::vector<::Core::PathBuffer<::std::string>>> mPickPicturesInventory;
30 ::ll::TypedStorage<8, 24, ::std::vector<::Core::PathBuffer<::std::string>>> mExportFiles;
31 ::ll::TypedStorage<8, 8, uint64> mCurExportPage;
32 ::ll::TypedStorage<8, 8, uint64> mPhotoItemsLimitPage;
33 ::ll::TypedStorage<1, 1, bool> mEdited;
34 ::ll::TypedStorage<1, 1, bool> mIsEdu;
35 ::ll::TypedStorage<1, 1, bool> hasExportedFirstPhoto;
40 BookScreenManager& operator=(BookScreenManager
const&);
41 BookScreenManager(BookScreenManager
const&);
47 MCAPI ::Core::PathBuffer<::std::string> _getExportTempDir();
49 MCAPI
void addPageAt(
int index, ::PageContent
const& page);
51 MCAPI
float buildExportFiles(
52 ::std::vector<::PageContent>
const& pages,
53 ::ScreenContext& context,
54 ::JpegCommentWriter& writer,
55 ::std::function<::std::string(::std::string
const&)> profanityFilter
58 MCAPI
void deletePage(
int index);
60 MCAPI
void editPage(
int index, ::PageContent
const& page);
62 MCAPI
bool finalizeBook(::std::string
const& title, ::std::string
const& author, ::std::string
const& authorXUID);
64 MCAPI ::Core::PathBuffer<::std::string> getScreenshotPath(::PageContent
const& page);
66 MCAPI ::std::string
const& getSignedAuthor();
68 MCAPI
void populatePickPics(::std::vector<::PageContent>
const& pages);
70 MCAPI
void startBookExport();
72 MCAPI
void swapPages(
int page1Index,
int page2Index);
74 MCAPI
float tickBookDownload(::std::vector<::PageContent>
const& pages);
76 MCAPI
void updateLectern(
int page);
Definition BookScreenManager.h:5
Definition PacketSender.h:17
Definition ScreenContext.h:5
Definition SyncedPhotoView.h:5
Definition PageContent.h:10