LeviLamina
Loading...
Searching...
No Matches
VarIntDataOutput.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/BytesDataOutput.h"
7
8// auto generated forward declare list
9// clang-format off
10class BinaryStream;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::BinaryStream& mStream;
18 // NOLINTEND
19
20 VarIntDataOutput(BinaryStream& bs) : mStream(bs) {}
21
22public:
23 // prevent constructor by default
24 VarIntDataOutput& operator=(VarIntDataOutput const&);
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual void writeString(::std::string_view v) /*override*/;
33
34 // vIndex: 2
35 virtual void writeLongString(::std::string_view v) /*override*/;
36
37 // vIndex: 3
38 virtual void writeFloat(float v) /*override*/;
39
40 // vIndex: 4
41 virtual void writeDouble(double v) /*override*/;
42
43 // vIndex: 5
44 virtual void writeByte(char v) /*override*/;
45
46 // vIndex: 6
47 virtual void writeShort(short v) /*override*/;
48
49 // vIndex: 7
50 virtual void writeInt(int v) /*override*/;
51
52 // vIndex: 8
53 virtual void writeLongLong(int64 v) /*override*/;
54
55 // vIndex: 9
56 virtual void writeBytes(void const* data, uint64 bytes) /*override*/;
57
58 // vIndex: 0
59 virtual ~VarIntDataOutput() /*override*/;
60 // NOLINTEND
61
62public:
63 // destructor thunk
64 // NOLINTBEGIN
65 MCFOLD void $dtor();
66 // NOLINTEND
67
68public:
69 // virtual function thunks
70 // NOLINTBEGIN
71 MCAPI void $writeString(::std::string_view v);
72
73 MCAPI void $writeLongString(::std::string_view v);
74
75 MCAPI void $writeFloat(float v);
76
77 MCAPI void $writeDouble(double v);
78
79 MCAPI void $writeByte(char v);
80
81 MCAPI void $writeShort(short v);
82
83 MCAPI void $writeInt(int v);
84
85 MCAPI void $writeLongLong(int64 v);
86
87 MCAPI void $writeBytes(void const* data, uint64 bytes);
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition BinaryStream.h:10
Definition BytesDataOutput.h:8
Definition VarIntDataOutput.h:13
static MCAPI void ** $vftable()