LeviLamina
Loading...
Searching...
No Matches
PageContent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class CompoundTag;
8// clang-format on
9
11public:
12 // PageContent inner types define
13 enum class PageType : uchar {
14 Text = 0,
15 Photo = 1,
16 Count = 2,
17 };
18
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mText;
23 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFilteredText;
24 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mParsedFilteredText;
25 ::ll::TypedStorage<8, 32, ::std::string> mParsedText;
26 ::ll::TypedStorage<8, 32, ::std::string> mPhotoName;
27 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFilteredPhotoName;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI PageContent(::PageContent const&);
38
40
41 MCAPI PageContent(::std::string nText, ::std::optional<::std::string> nFilteredText);
42
43 MCAPI ::PageContent& operator=(::PageContent&&);
44
45 MCAPI ::PageContent& operator=(::PageContent const&);
46
47 MCAPI ~PageContent();
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static ::PageContent read(::CompoundTag const& tag);
54
55 MCAPI static void write(::PageContent const& page, ::CompoundTag& tag);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static ::PageContent const& BLANK_PAGE();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(::PageContent const&);
68
69 MCAPI void* $ctor(::PageContent&&);
70
71 MCAPI void* $ctor(::std::string nText, ::std::optional<::std::string> nFilteredText);
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79};
Definition CompoundTag.h:13
Definition PageContent.h:10