22class WrittenBookItem :
public ::Item {
26 ::ll::TypedStorage<1, 1, bool> mShouldFilterText;
38 virtual bool requiresInteract()
const ;
40 virtual ::std::string getInteractText(
::Player const& player)
const ;
45 virtual void appendFormattedHovertext(
49 bool const showCategory
52 virtual ::Bedrock::Safety::RedactableString getRedactedCustomName(
::ItemStackBase const& stack)
const ;
64 MCAPI WrittenBookItem(::std::string
const& name,
int id);
72 MCAPI static ::std::string
const& getAuthor(
::ItemStackBase const& book);
75 MCFOLD static ::ActorUniqueID getBookId(
::ItemStack const& book);
77 MCAPI static ::std::optional<::std::string> getFilteredAuthor(
::ItemStack const& book);
79 MCAPI static ::std::optional<::std::string> getFilteredTitle(
::ItemStack const& book);
84 MCAPI static ::PageContent getPage(
::ItemStackBase const& book,
int index);
89 MCAPI static ::std::vector<int> getPageCountByType(
::ItemStack const& book);
92 MCAPI static ::std::vector<::PageContent> getPages(
::ItemStackBase const& book);
94 MCAPI static ::std::string
const& getTitle(
::ItemStackBase const& book);
104 MCAPI
static int const& MAX_PAGES();
106 MCAPI
static int const& MAX_PAGE_LENGTH();
108 MCAPI
static int const& MAX_TITLE_LENGTH();
110 MCAPI static ::std::string_view
const& TAG_AUTHOR();
112 MCAPI static ::std::string_view
const& TAG_FILTERED_AUTHOR();
114 MCAPI static ::std::string_view
const& TAG_FILTERED_TITLE();
116 MCAPI static ::std::string_view
const& TAG_GENERATION();
118 MCAPI static ::std::string_view
const& TAG_PAGES();
120 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_PHOTO_NAME();
122 MCAPI static ::std::string_view
const& TAG_PAGE_FILTERED_TEXT();
124 MCAPI static ::std::string_view
const& TAG_PAGE_PHOTO_NAME();
126 MCAPI static ::std::string_view
const& TAG_PAGE_TEXT();
128 MCAPI static ::std::string_view
const& TAG_TITLE();
130 MCAPI static ::std::string_view
const& TAG_XUID();
136 MCAPI
void* $ctor(::std::string
const& name,
int id);
144 MCFOLD
bool $requiresInteract()
const;
146 MCAPI ::std::string $getInteractText(
::Player const& player)
const;
150 MCAPI
void $appendFormattedHovertext(
154 bool const showCategory
157 MCAPI ::Bedrock::Safety::RedactableString $getRedactedCustomName(
::ItemStackBase const& stack)
const;
171 MCAPI
static void** $vftable();
Definition PageContent.h:10