LeviLamina
Loading...
Searching...
No Matches
BlockActorDataPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/nbt/CompoundTag.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/NetworkBlockPosition.h"
9#include "mc/network/packet/Packet.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
15class BlockPos;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<4, 12, ::NetworkBlockPosition> mPos;
24 ::ll::TypedStorage<8, 24, ::CompoundTag> mData;
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 1
35 virtual ::MinecraftPacketIds getId() const /*override*/;
36
37 // vIndex: 2
38 virtual ::std::string getName() const /*override*/;
39
40 // vIndex: 4
41 virtual void write(::BinaryStream& stream) const /*override*/;
42
43 // vIndex: 8
44 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
45
46 // vIndex: 0
47 virtual ~BlockActorDataPacket() /*override*/ = default;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI BlockActorDataPacket(::BlockPos const& pos, ::CompoundTag tag);
54 // NOLINTEND
55
56public:
57 // constructor thunks
58 // NOLINTBEGIN
59 MCAPI void* $ctor(::BlockPos const& pos, ::CompoundTag tag);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCFOLD ::MinecraftPacketIds $getId() const;
66
67 MCAPI ::std::string $getName() const;
68
69 MCAPI void $write(::BinaryStream& stream) const;
70
71 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
Definition BinaryStream.h:10
Definition BlockActorDataPacket.h:19
static MCAPI void ** $vftable()
Definition BlockPos.h:18
Definition CompoundTag.h:13
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8