LeviLamina
Loading...
Searching...
No Matches
SubChunkRequestPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/AutomaticID.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.h"
9#include "mc/network/packet/SubChunkPacket.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
15class Dimension;
17class SubChunkPos;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 4, ::DimensionType> mDimensionType;
25 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkPos>> mSubChunkPos;
26 ::ll::TypedStorage<8, 24, ::std::vector<::SubChunkPacket::SubChunkPosOffset>> mSubChunkPosOffsets;
27 ::ll::TypedStorage<4, 4, uint> mRequestCount;
28 ::ll::TypedStorage<4, 12, ::SubChunkPos> mCenterPos;
29 ::ll::TypedStorage<1, 1, bool> mArePositionsAbsolute;
30 // NOLINTEND
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~SubChunkRequestPacket() /*override*/;
37
38 // vIndex: 1
39 virtual ::MinecraftPacketIds getId() const /*override*/;
40
41 // vIndex: 2
42 virtual ::std::string getName() const /*override*/;
43
44 // vIndex: 4
45 virtual void write(::BinaryStream& stream) const /*override*/;
46
47 // vIndex: 8
48 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
49 // NOLINTEND
50
51public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCAPI void $dtor();
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI ::MinecraftPacketIds $getId() const;
61
62 MCAPI ::std::string $getName() const;
63
64 MCAPI void $write(::BinaryStream& stream) const;
65
66 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BinaryStream.h:10
Definition Dimension.h:83
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition SubChunkPos.h:5
Definition SubChunkRequestPacket.h:20