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.h"
9#include "mc/network/packet/SubChunkPacket.h"
10#include "mc/platform/Result.h"
11#include "mc/world/level/SubChunkPos.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
16class Dimension;
18// clang-format on
19
20class SubChunkRequestPacket : public ::Packet {
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 virtual ~SubChunkRequestPacket() /*override*/;
36
37 virtual ::MinecraftPacketIds getId() const /*override*/;
38
39 virtual ::std::string getName() const /*override*/;
40
41 virtual void write(::BinaryStream& stream) const /*override*/;
42
43 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI_C void*
56 $ctor(::DimensionType dimensionType, ::SubChunkPos const& playerPos, ::std::vector<::SubChunkPos> const& pos);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI ::MinecraftPacketIds $getId() const;
69
70 MCAPI ::std::string $getName() const;
71
72 MCAPI void $write(::BinaryStream& stream) const;
73
74 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition BinaryStream.h:11
Definition Dimension.h:85
Definition ReadOnlyBinaryStream.h:8
Definition SubChunkPos.h:5
Definition SubChunkRequestPacket.h:20
static MCAPI void ** $vftable()