22 ::ll::TypedStorage<1, 1, bool> controlValue;
24 ::ll::TypedStorage<8, 8, char const*> docFieldName;
30 inline void writeType(T
const& x,
char const* =
nullptr,
char const* =
nullptr) {
34 MCTAPI
void writeType(
class BlockPos const&,
char const*,
char const*);
35 MCTAPI
void writeType(
class Vec3 const&,
char const*,
char const*);
37 MCTAPI
void writeType(
class BaseGameVersion const&,
char const*,
char const*);
38 MCTAPI
void writeType(
struct ActorLink const&,
char const*,
char const*);
47 ::std::string& mBuffer;
62 virtual void writeBool(
bool value,
char const* docFieldName,
char const* docFieldNotes);
65 virtual void writeByte(uchar value,
char const* docFieldName,
char const* docFieldNotes);
68 virtual void writeUnsignedShort(ushort value,
char const* docFieldName,
char const* docFieldNotes);
71 virtual void writeSignedShort(
short value,
char const* docFieldName,
char const* docFieldNotes);
74 virtual void writeUnsignedInt(uint value,
char const* docFieldName,
char const* docFieldNotes);
77 virtual void writeSignedBigEndianInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
80 virtual void writeSignedInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
83 virtual void writeUnsignedInt64(uint64 value,
char const* docFieldName,
char const* docFieldNotes);
86 virtual void writeSignedInt64(int64 value,
char const* docFieldName,
char const* docFieldNotes);
89 virtual void writeUnsignedVarInt(uint uvalue,
char const* docFieldName,
char const* docFieldNotes);
92 virtual void writeUnsignedVarInt64(uint64 uvalue,
char const* docFieldName,
char const* docFieldNotes);
95 virtual void writeVarInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
98 virtual void writeVarInt64(int64 value,
char const* docFieldName,
char const* docFieldNotes);
101 virtual void writeDouble(
double value,
char const* docFieldName,
char const* docFieldNotes);
104 virtual void writeFloat(
float value,
char const* docFieldName,
char const* docFieldNotes);
107 virtual void writeFixedFloat(
float value,
char const* docFieldName,
char const* docFieldNotes,
double size);
110 virtual void writeNormalizedFloat(
float value,
char const* docFieldName,
char const* docFieldNotes);
113 virtual void writeString(::std::string_view value,
char const* docFieldName,
char const* docFieldNotes);
116 virtual void writeIf(
118 char const* docFieldName,
124 virtual void writeConditional(
125 char const* docFieldName,
126 ::std::initializer_list<::BinaryStream::ConditionBlock>&& conditions,
131 virtual void branchingWrite_DEPRECATED(
136 char const* controlDocFieldName
140 virtual void branchingWrite_DEPRECATED(
143 ::std::vector<int>
const& docControlSet,
144 char const* controlDocFieldName
148 virtual void _writeArray(
151 char const* docFieldName,
152 char const* docFieldNotes
165 MCAPI
void* $ctor(::std::string&
buffer,
bool copyBuffer);
177 MCAPI
void $writeBool(
bool value,
char const* docFieldName,
char const* docFieldNotes);
179 MCAPI
void $writeByte(uchar value,
char const* docFieldName,
char const* docFieldNotes);
181 MCFOLD
void $writeUnsignedShort(ushort value,
char const* docFieldName,
char const* docFieldNotes);
183 MCFOLD
void $writeSignedShort(
short value,
char const* docFieldName,
char const* docFieldNotes);
185 MCFOLD
void $writeUnsignedInt(uint value,
char const* docFieldName,
char const* docFieldNotes);
187 MCAPI
void $writeSignedBigEndianInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
189 MCFOLD
void $writeSignedInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
191 MCFOLD
void $writeUnsignedInt64(uint64 value,
char const* docFieldName,
char const* docFieldNotes);
193 MCFOLD
void $writeSignedInt64(int64 value,
char const* docFieldName,
char const* docFieldNotes);
195 MCAPI
void $writeUnsignedVarInt(uint uvalue,
char const* docFieldName,
char const* docFieldNotes);
197 MCAPI
void $writeUnsignedVarInt64(uint64 uvalue,
char const* docFieldName,
char const* docFieldNotes);
199 MCAPI
void $writeVarInt(
int value,
char const* docFieldName,
char const* docFieldNotes);
201 MCAPI
void $writeVarInt64(int64 value,
char const* docFieldName,
char const* docFieldNotes);
203 MCAPI
void $writeDouble(
double value,
char const* docFieldName,
char const* docFieldNotes);
205 MCAPI
void $writeFloat(
float value,
char const* docFieldName,
char const* docFieldNotes);
207 MCAPI
void $writeFixedFloat(
float value,
char const* docFieldName,
char const* docFieldNotes,
double size);
209 MCAPI
void $writeNormalizedFloat(
float value,
char const* docFieldName,
char const* docFieldNotes);
211 MCAPI
void $writeString(::std::string_view value,
char const* docFieldName,
char const* docFieldNotes);
215 char const* docFieldName,
220 MCAPI
void $writeConditional(
221 char const* docFieldName,
222 ::std::initializer_list<::BinaryStream::ConditionBlock>&& conditions,
226 MCFOLD
void $branchingWrite_DEPRECATED(
231 char const* controlDocFieldName
234 MCFOLD
void $branchingWrite_DEPRECATED(
237 ::std::vector<int>
const& docControlSet,
238 char const* controlDocFieldName
241 MCAPI
void $_writeArray(
244 char const* docFieldName,
245 char const* docFieldNotes