Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BookScreenManager Class Reference

Public Member Functions

BookScreenManager & operator= (BookScreenManager const &)
 BookScreenManager (BookScreenManager const &)
MCAPI::ItemStack const & _getBook ()
MCAPI ::Core::PathBuffer<::std::string > _getExportTempDir ()
MCAPI::ViewStatus _viewPage (::PageContent const &page)
MCAPI void addPageAt (int index, ::PageContent const &page)
MCAPI float buildExportFiles (::std::vector<::PageContent > const &pages, ::ScreenContext &context, ::JpegCommentWriter &writer, ::std::function<::std::string(::std::string const &)> profanityFilter)
MCAPI void deletePage (int index)
MCAPI void editPage (int index, ::PageContent const &page)
MCAPI bool finalizeBook (::std::string const &title, ::std::string const &author, ::std::string const &authorXUID)
MCAPI void fireBookEditedEvent () const
MCAPI void fireBookExportEvent () const
MCAPI void firePageTurnSound (::std::string const &eventName, float volume, float pitch) const
MCAPI void fireSignedBookOpenedEvent (::std::string const &author, ::std::string const &authorXUID, ::std::string const &playerXUID) const
MCAPI int getLecternBookPage () const
MCAPI::std::string getPickPhotoInventoryName (int index)
MCAPI::std::string getPickPhotoName (int index)
MCAPI ::Core::PathBuffer<::std::string > getScreenshotPath (::PageContent const &page)
MCAPI bool lecternHasBook () const
MCAPI bool lecternIsValid () const
MCAPI void populatePickPics (::std::vector<::PageContent > const &pages)
MCAPI void startBookExport ()
MCAPI void swapPages (int page1Index, int page2Index)
MCAPI void updateLectern (int page)
MCAPI ~BookScreenManager ()
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 8, 8, ::Player & > mPlayer
::ll::TypedStorage< 4, 16, ::std::optional<::BlockPos > > mLecternPos
::ll::TypedStorage< 4, 4, int > mBookSlot
::ll::TypedStorage< 8, 8, ::PacketSender & > mPacketSender
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::SyncedPhotoView > > mPhotoView
::ll::TypedStorage< 8, 24, ::std::vector<::Core::PathBuffer<::std::string > > > mPickPictures
::ll::TypedStorage< 8, 24, ::std::vector<::Core::PathBuffer<::std::string > > > mPickPicturesInventory
::ll::TypedStorage< 8, 24, ::std::vector<::Core::PathBuffer<::std::string > > > mExportFiles
::ll::TypedStorage< 8, 8, uint64 > mCurExportPage
::ll::TypedStorage< 8, 8, uint64 > mPhotoItemsLimitPage
::ll::TypedStorage< 1, 1, bool > mEdited
::ll::TypedStorage< 1, 1, bool > mIsEdu
::ll::TypedStorage< 1, 1, bool > hasExportedFirstPhoto

Constructor & Destructor Documentation

◆ ~BookScreenManager()

MCAPI BookScreenManager::~BookScreenManager ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _getBook()

MCAPI::ItemStack const & BookScreenManager::_getBook ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getExportTempDir()

MCAPI ::Core::PathBuffer<::std::string > BookScreenManager::_getExportTempDir ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _viewPage()

MCAPI::ViewStatus BookScreenManager::_viewPage ( ::PageContent const & page)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ addPageAt()

MCAPI void BookScreenManager::addPageAt ( int index,
::PageContent const & page )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ buildExportFiles()

MCAPI float BookScreenManager::buildExportFiles ( ::std::vector<::PageContent > const & pages,
::ScreenContext & context,
::JpegCommentWriter & writer,
::std::function<::std::string(::std::string const &)> profanityFilter )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ deletePage()

MCAPI void BookScreenManager::deletePage ( int index)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ editPage()

MCAPI void BookScreenManager::editPage ( int index,
::PageContent const & page )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ finalizeBook()

MCAPI bool BookScreenManager::finalizeBook ( ::std::string const & title,
::std::string const & author,
::std::string const & authorXUID )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fireBookEditedEvent()

MCAPI void BookScreenManager::fireBookEditedEvent ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fireBookExportEvent()

MCAPI void BookScreenManager::fireBookExportEvent ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ firePageTurnSound()

MCAPI void BookScreenManager::firePageTurnSound ( ::std::string const & eventName,
float volume,
float pitch ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ fireSignedBookOpenedEvent()

MCAPI void BookScreenManager::fireSignedBookOpenedEvent ( ::std::string const & author,
::std::string const & authorXUID,
::std::string const & playerXUID ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getLecternBookPage()

MCAPI int BookScreenManager::getLecternBookPage ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPickPhotoInventoryName()

MCAPI::std::string BookScreenManager::getPickPhotoInventoryName ( int index)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getPickPhotoName()

MCAPI::std::string BookScreenManager::getPickPhotoName ( int index)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getScreenshotPath()

MCAPI ::Core::PathBuffer<::std::string > BookScreenManager::getScreenshotPath ( ::PageContent const & page)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ lecternHasBook()

MCAPI bool BookScreenManager::lecternHasBook ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ lecternIsValid()

MCAPI bool BookScreenManager::lecternIsValid ( ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ populatePickPics()

MCAPI void BookScreenManager::populatePickPics ( ::std::vector<::PageContent > const & pages)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ startBookExport()

MCAPI void BookScreenManager::startBookExport ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ swapPages()

MCAPI void BookScreenManager::swapPages ( int page1Index,
int page2Index )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateLectern()

MCAPI void BookScreenManager::updateLectern ( int page)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void BookScreenManager::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: