LeviLamina
Loading...
Searching...
No Matches
NBTSchemaReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/cereal/schema/SchemaReader.h"
7#include "mc/platform/Result.h"
8
10public:
11 // NBTSchemaReader inner types declare
12 // clang-format off
13 struct State;
14 // clang-format on
15
16 // NBTSchemaReader inner types define
17 struct State {
18 public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25 public:
26 // prevent constructor by default
27 State& operator=(State const&);
28 State(State const&);
29 State();
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
37 // NOLINTEND
38
39public:
40 // prevent constructor by default
41 NBTSchemaReader& operator=(NBTSchemaReader const&);
44
45public:
46 // virtual functions
47 // NOLINTBEGIN
48 // vIndex: 1
49 virtual bool isValid() const /*override*/;
50
51 // vIndex: 2
52 virtual bool isObject() const /*override*/;
53
54 // vIndex: 3
55 virtual bool isArray() const /*override*/;
56
57 // vIndex: 4
58 virtual bool isNull() const /*override*/;
59
60 // vIndex: 5
61 virtual ::Bedrock::Result<bool> asBool() /*override*/;
62
63 // vIndex: 6
64 virtual ::Bedrock::Result<schar> asInt8() /*override*/;
65
66 // vIndex: 7
67 virtual ::Bedrock::Result<uchar> asUInt8() /*override*/;
68
69 // vIndex: 8
70 virtual ::Bedrock::Result<short> asInt16() /*override*/;
71
72 // vIndex: 9
73 virtual ::Bedrock::Result<ushort> asUInt16() /*override*/;
74
75 // vIndex: 10
76 virtual ::Bedrock::Result<int> asInt32() /*override*/;
77
78 // vIndex: 11
79 virtual ::Bedrock::Result<uint> asUInt32() /*override*/;
80
81 // vIndex: 12
82 virtual ::Bedrock::Result<int64> asInt64() /*override*/;
83
84 // vIndex: 13
85 virtual ::Bedrock::Result<uint64> asUInt64() /*override*/;
86
87 // vIndex: 14
88 virtual ::Bedrock::Result<float> asFloat() /*override*/;
89
90 // vIndex: 15
91 virtual ::Bedrock::Result<double> asDouble() /*override*/;
92
93 // vIndex: 16
94 virtual ::Bedrock::Result<::std::string> asString() /*override*/;
95
96 // vIndex: 17
97 virtual uint64 members() /*override*/;
98
99 // vIndex: 18
100 virtual uint64 length() /*override*/;
101
102 // vIndex: 19
103 virtual bool pushMember(::std::string_view const name) /*override*/;
104
105 // vIndex: 20
106 virtual ::std::string_view pushNextMember() /*override*/;
107
108 // vIndex: 21
109 virtual void pushElement(uint64 index) /*override*/;
110
111 // vIndex: 22
112 virtual void pop() /*override*/;
113
114 // vIndex: 0
115 virtual ~NBTSchemaReader() /*override*/;
116 // NOLINTEND
117
118public:
119 // destructor thunk
120 // NOLINTBEGIN
121 MCNAPI void $dtor();
122 // NOLINTEND
123
124public:
125 // virtual function thunks
126 // NOLINTBEGIN
127 MCNAPI bool $isValid() const;
128
129 MCNAPI bool $isObject() const;
130
131 MCNAPI bool $isArray() const;
132
133 MCNAPI bool $isNull() const;
134
135 MCNAPI ::Bedrock::Result<bool> $asBool();
136
137 MCNAPI ::Bedrock::Result<schar> $asInt8();
138
139 MCNAPI ::Bedrock::Result<uchar> $asUInt8();
140
141 MCNAPI ::Bedrock::Result<short> $asInt16();
142
143 MCNAPI ::Bedrock::Result<ushort> $asUInt16();
144
145 MCNAPI ::Bedrock::Result<int> $asInt32();
146
147 MCNAPI ::Bedrock::Result<uint> $asUInt32();
148
149 MCNAPI ::Bedrock::Result<int64> $asInt64();
150
151 MCNAPI ::Bedrock::Result<uint64> $asUInt64();
152
153 MCNAPI ::Bedrock::Result<float> $asFloat();
154
155 MCNAPI ::Bedrock::Result<double> $asDouble();
156
157 MCNAPI ::Bedrock::Result<::std::string> $asString();
158
159 MCNAPI uint64 $members();
160
161 MCNAPI uint64 $length();
162
163 MCNAPI bool $pushMember(::std::string_view const name);
164
165 MCNAPI ::std::string_view $pushNextMember();
166
167 MCNAPI void $pushElement(uint64 index);
168
169 MCNAPI void $pop();
170 // NOLINTEND
171
172public:
173 // vftables
174 // NOLINTBEGIN
175 MCNAPI static void** $vftable();
176 // NOLINTEND
177};
Definition NBTSchemaReader.h:9
MCAPI uint64 $length()
MCAPI ::Bedrock::Result< uint > $asUInt32()
MCAPI ::Bedrock::Result< short > $asInt16()
MCAPI ::Bedrock::Result< uchar > $asUInt8()
MCAPI ::Bedrock::Result< int64 > $asInt64()
MCAPI ::Bedrock::Result< int > $asInt32()
MCAPI void $pushElement(uint64 index)
MCAPI::std::string_view $pushNextMember()
MCAPI ::Bedrock::Result<::std::string > $asString()
MCAPI ::Bedrock::Result< bool > $asBool()
MCAPI ::Bedrock::Result< double > $asDouble()
MCAPI bool $isArray() const
MCAPI void $dtor()
MCAPI void $pop()
MCAPI bool $isObject() const
static MCAPI void ** $vftable()
MCAPI bool $isNull() const
MCAPI bool $isValid() const
MCAPI ::Bedrock::Result< float > $asFloat()
MCAPI bool $pushMember(::std::string_view const name)
MCAPI ::Bedrock::Result< uint64 > $asUInt64()
MCAPI uint64 $members()
MCAPI ::Bedrock::Result< ushort > $asUInt16()
MCAPI ::Bedrock::Result< schar > $asInt8()
STL namespace.
Definition NBTSchemaReader.h:17
Definition SchemaReader.h:10
Definition Alias.h:14