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 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 1
26 virtual void writeString(::std::string_view v) /*override*/;
27
28 // vIndex: 2
29 virtual void writeLongString(::std::string_view v) /*override*/;
30
31 // vIndex: 3
32 virtual void writeFloat(float v) /*override*/;
33
34 // vIndex: 4
35 virtual void writeDouble(double v) /*override*/;
36
37 // vIndex: 5
38 virtual void writeByte(char v) /*override*/;
39
40 // vIndex: 6
41 virtual void writeShort(short v) /*override*/;
42
43 // vIndex: 7
44 virtual void writeInt(int v) /*override*/;
45
46 // vIndex: 8
47 virtual void writeLongLong(int64 v) /*override*/;
48
49 // vIndex: 9
50 virtual void writeBytes(void const* data, uint64 bytes) /*override*/;
51
52 // vIndex: 0
53 virtual ~VarIntDataOutput() /*override*/;
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCFOLD void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI void $writeString(::std::string_view v);
66
67 MCAPI void $writeLongString(::std::string_view v);
68
69 MCAPI void $writeFloat(float v);
70
71 MCAPI void $writeDouble(double v);
72
73 MCAPI void $writeByte(char v);
74
75 MCAPI void $writeShort(short v);
76
77 MCAPI void $writeInt(int v);
78
79 MCAPI void $writeLongLong(int64 v);
80
81 MCAPI void $writeBytes(void const* data, uint64 bytes);
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftable();
88 // NOLINTEND
89};
Definition BinaryStream.h:10
Definition BytesDataOutput.h:8
Definition VarIntDataOutput.h:13