LeviLamina
Loading...
Searching...
No Matches
IDataInput.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8class IDataInput {
9public:
10 // virtual functions
11 // NOLINTBEGIN
12 // vIndex: 0
13 virtual ~IDataInput() = default;
14
15 // vIndex: 1
16 virtual ::Bedrock::Result<::std::string> readStringResult() = 0;
17
18 // vIndex: 2
19 virtual ::Bedrock::Result<::std::string> readLongStringResult() = 0;
20
21 // vIndex: 3
22 virtual ::Bedrock::Result<float> readFloatResult() = 0;
23
24 // vIndex: 4
25 virtual ::Bedrock::Result<double> readDoubleResult() = 0;
26
27 // vIndex: 5
28 virtual ::Bedrock::Result<uchar> readByteResult() = 0;
29
30 // vIndex: 6
31 virtual ::Bedrock::Result<short> readShortResult() = 0;
32
33 // vIndex: 7
34 virtual ::Bedrock::Result<int> readIntResult() = 0;
35
36 // vIndex: 8
37 virtual ::Bedrock::Result<int64> readLongLongResult() = 0;
38
39 // vIndex: 9
40 virtual ::Bedrock::Result<void> readBytesResult(void*, uint64) = 0;
41
42 // vIndex: 10
43 virtual uint64 numBytesLeft() const = 0;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI uchar readByte();
50
51 MCAPI bool readBytes(void* data, uint64 bytes);
52
53 MCAPI ::std::string readLongString();
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition IDataInput.h:8