LeviLamina
Loading...
Searching...
No Matches
DataStoreSyncPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/network/MinecraftPacketIds.h"
7#include "mc/network/Packet.h"
8#include "mc/network/packet/DataStoreSyncPacketPayload.h"
9#include "mc/network/packet/cerealize/core/SerializationMode.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16namespace cereal { struct ReflectionCtx; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::DataStoreSyncPacketPayload> mPayload;
24 ::ll::TypedStorage<4, 4, ::SerializationMode> mSerializationMode;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 1
31 virtual ::MinecraftPacketIds getId() const /*override*/;
32
33 // vIndex: 2
34 virtual ::std::string getName() const /*override*/;
35
36 // vIndex: 12
37 virtual ::SerializationMode getSerializationMode() const /*override*/;
38
39 // vIndex: 13
40 virtual void setSerializationMode(::SerializationMode mode) /*override*/;
41
42 // vIndex: 5
43 virtual void writeWithSerializationMode(
44 ::BinaryStream& stream,
45 ::cereal::ReflectionCtx const& reflectionCtx,
46 ::std::optional<::SerializationMode> overrideMode
47 ) const /*override*/;
48
49 // vIndex: 7
50 virtual void write(::BinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const /*override*/;
51
52 // vIndex: 6
53 virtual void write(::BinaryStream& stream) const /*override*/;
54
55 // vIndex: 9
56 virtual ::Bedrock::Result<void>
57 read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) /*override*/;
58
59 // vIndex: 10
60 virtual bool disallowBatching() const /*override*/;
61
62 // vIndex: 11
63 virtual bool isValid() const /*override*/;
64
65 // vIndex: 3
66 virtual uint64 getMaxSize() const /*override*/;
67
68 // vIndex: 14
69 virtual ::std::string toString() const /*override*/;
70
71 // vIndex: 15
72 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
73
74 // vIndex: 16
75 virtual ::Bedrock::Result<void>
76 _read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) /*override*/;
77
78 // vIndex: 0
79 virtual ~DataStoreSyncPacket() /*override*/;
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCAPI void $dtor();
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI ::MinecraftPacketIds $getId() const;
92
93 MCAPI ::std::string $getName() const;
94
95 MCFOLD ::SerializationMode $getSerializationMode() const;
96
97 MCFOLD void $setSerializationMode(::SerializationMode mode);
98
99 MCAPI void $writeWithSerializationMode(
100 ::BinaryStream& stream,
101 ::cereal::ReflectionCtx const& reflectionCtx,
102 ::std::optional<::SerializationMode> overrideMode
103 ) const;
104
105 MCFOLD void $write(::BinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx) const;
106
107 MCAPI void $write(::BinaryStream& stream) const;
108
109 MCAPI ::Bedrock::Result<void>
110 $read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx);
111
112 MCFOLD bool $disallowBatching() const;
113
114 MCFOLD bool $isValid() const;
115
116 MCAPI uint64 $getMaxSize() const;
117
118 MCAPI ::std::string $toString() const;
119
120 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
121
122 MCAPI ::Bedrock::Result<void>
123 $_read(::ReadOnlyBinaryStream& bitStream, ::cereal::ReflectionCtx const& reflectionCtx);
124 // NOLINTEND
125
126public:
127 // vftables
128 // NOLINTBEGIN
129 MCNAPI static void** $vftable();
130 // NOLINTEND
131};
Definition BinaryStream.h:10
Definition DataStoreSyncPacket.h:19
static MCAPI void ** $vftable()
Definition Packet.h:43
Definition ReadOnlyBinaryStream.h:8
Definition ReflectionCtx.h:11