LeviLamina
Loading...
Searching...
No Matches
ContainerOpenPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/ContainerType.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.h"
9#include "mc/platform/Result.h"
10#include "mc/world/ContainerID.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
17struct ActorUniqueID;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<1, 1, ::ContainerID> mContainerId;
25 ::ll::TypedStorage<1, 1, ::SharedTypes::Legacy::ContainerType> mType;
26 ::ll::TypedStorage<4, 12, ::NetworkBlockPosition> mPos;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mEntityUniqueID;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 1
34 virtual ::MinecraftPacketIds getId() const /*override*/;
35
36 // vIndex: 2
37 virtual ::std::string getName() const /*override*/;
38
39 // vIndex: 4
40 virtual void write(::BinaryStream& stream) const /*override*/;
41
42 // vIndex: 8
43 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
44
45 // vIndex: 0
46 virtual ~ContainerOpenPacket() /*override*/;
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCFOLD void $dtor();
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::MinecraftPacketIds $getId() const;
59
60 MCAPI ::std::string $getName() const;
61
62 MCAPI void $write(::BinaryStream& stream) const;
63
64 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCAPI static void** $vftable();
71 // NOLINTEND
72};
Definition BinaryStream.h:10
Definition ContainerOpenPacket.h:20
Definition NetworkBlockPosition.h:8
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ActorUniqueID.h:5