LeviLamina
Loading...
Searching...
No Matches
MinecraftDocumentInput.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/puv/Input.h"
7
8// auto generated forward declare list
9// clang-format off
10class SemVersion;
11namespace Bedrock::Resources { struct BinaryHeader; }
12namespace Puv { class Logger; }
13// clang-format on
14
15namespace Bedrock::Resources {
16
17class MinecraftDocumentInput : public ::Puv::Input {
18public:
19 // MinecraftDocumentInput inner types declare
20 // clang-format off
21 struct Binary;
22 struct NoPayloadCheck;
23 // clang-format on
24
25 // MinecraftDocumentInput inner types define
26 struct Binary {
27 public:
28 // member variables
29 // NOLINTBEGIN
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 Binary& operator=(Binary const&);
37 Binary(Binary const&);
38 Binary();
39
40 public:
41 // member functions
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46 public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCNAPI_C void $dtor();
50 // NOLINTEND
51 };
52
53 struct NoPayloadCheck {};
54
55public:
56 // member variables
57 // NOLINTBEGIN
63 // NOLINTEND
64
65public:
66 // prevent constructor by default
67 MinecraftDocumentInput& operator=(MinecraftDocumentInput const&);
68 MinecraftDocumentInput(MinecraftDocumentInput const&);
69 MinecraftDocumentInput();
70
71public:
72 // virtual functions
73 // NOLINTBEGIN
74 virtual ::SemVersion version() const /*override*/;
75
76 virtual ::Puv::Input::Data data() const /*override*/;
77
78 virtual ::Puv::Logger const& getErrors() const /*override*/;
79
80 virtual ~MinecraftDocumentInput() /*override*/;
81 // NOLINTEND
82
83public:
84 // member functions
85 // NOLINTBEGIN
86 MCNAPI MinecraftDocumentInput(
87 ::Bedrock::Resources::MinecraftDocumentInput::NoPayloadCheck,
88 ::SemVersion const&,
89 ::std::string
90 );
91
92 MCNAPI
93 MinecraftDocumentInput(::std::string_view payloadKey, ::SemVersion const& minModernVersion, ::std::string data);
94
95 MCNAPI void init(::std::string_view payloadKey, ::SemVersion const& minModernVersion, ::std::string data);
96
97 MCNAPI void
98 initAsBinary(::std::string_view payloadKey, ::std::string data, ::Bedrock::Resources::BinaryHeader const& header);
99
100 MCNAPI void initAsJson(::std::string_view payloadKey, ::std::string data);
101 // NOLINTEND
102
103public:
104 // constructor thunks
105 // NOLINTBEGIN
106 MCNAPI void*
107 $ctor(::Bedrock::Resources::MinecraftDocumentInput::NoPayloadCheck, ::SemVersion const&, ::std::string);
108
109 MCNAPI void* $ctor(::std::string_view payloadKey, ::SemVersion const& minModernVersion, ::std::string data);
110 // NOLINTEND
111
112public:
113 // destructor thunk
114 // NOLINTBEGIN
115 MCNAPI void $dtor();
116 // NOLINTEND
117
118public:
119 // virtual function thunks
120 // NOLINTBEGIN
121 MCNAPI ::SemVersion $version() const;
122
123 MCNAPI ::Puv::Input::Data $data() const;
124
125 MCNAPI ::Puv::Logger const& $getErrors() const;
126
127
128 // NOLINTEND
129
130public:
131 // vftables
132 // NOLINTBEGIN
133 MCNAPI static void** $vftable();
134 // NOLINTEND
135};
136
137} // namespace Bedrock::Resources
MCAPI void * $ctor(::Bedrock::Resources::MinecraftDocumentInput::NoPayloadCheck, ::SemVersion const &, ::std::string)
MCAPI void init(::std::string_view payloadKey, ::SemVersion const &minModernVersion, ::std::string data)
MCAPI void initAsBinary(::std::string_view payloadKey, ::std::string data, ::Bedrock::Resources::BinaryHeader const &header)
MCAPI::Puv::Input::Data $data() const
MCAPI::Puv::Logger const & $getErrors() const
MCAPI void initAsJson(::std::string_view payloadKey, ::std::string data)
Definition Input.h:15
Definition Logger.h:12
Definition SemVersion.h:15
STL namespace.
Definition BinaryHeader.h:15
Definition MinecraftDocumentInput.h:26
Definition Input.h:23
Definition Alias.h:14