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;
39 BookScreenManager& operator=(BookScreenManager
const&);
40 BookScreenManager(BookScreenManager
const&);
46 MCAPI ::Core::PathBuffer<::std::string> _getExportTempDir();
48 MCAPI
void addPageAt(
int index, ::PageContent
const& page);
50 MCAPI
float buildExportFiles(
51 ::std::vector<::PageContent>
const& pages,
52 ::ScreenContext& context,
53 ::JpegCommentWriter& writer,
54 ::std::function<::std::string(::std::string
const&)> profanityFilter
57 MCAPI
void deletePage(
int index);
59 MCAPI
void editPage(
int index, ::PageContent
const& page);
61 MCAPI
bool finalizeBook(::std::string
const& title, ::std::string
const& author, ::std::string
const& authorXUID);
63 MCAPI ::Core::PathBuffer<::std::string> getScreenshotPath(::PageContent
const& page);
65 MCAPI ::std::string
const& getSignedAuthor();
67 MCAPI
void populatePickPics(::std::vector<::PageContent>
const& pages);
69 MCAPI
void startBookExport();
71 MCAPI
void swapPages(
int page1Index,
int page2Index);
73 MCAPI
float tickBookDownload(::std::vector<::PageContent>
const& pages);
75 MCAPI
void updateLectern(
int page);
Definition BookScreenManager.h:5
Definition PacketSender.h:17
Definition ScreenContext.h:5
Definition PageContent.h:10
Definition SyncedPhotoView.h:5