LeviLamina
Loading...
Searching...
No Matches
SetHudPacket.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/Packet.h"
8#include "mc/platform/Result.h"
9#include "mc/util/HudElement.h"
10#include "mc/util/HudVisibility.h"
11
12// auto generated forward declare list
13// clang-format off
14class BinaryStream;
16// clang-format on
17
18class SetHudPacket : public ::Packet {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::HudElement>> mHudElement;
23 ::ll::TypedStorage<4, 4, ::HudVisibility> mHudVisible;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 1
30 virtual ::MinecraftPacketIds getId() const /*override*/;
31
32 // vIndex: 2
33 virtual ::std::string getName() const /*override*/;
34
35 // vIndex: 4
36 virtual void write(::BinaryStream& stream) const /*override*/;
37
38 // vIndex: 8
39 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
40
41 // vIndex: 0
42 virtual ~SetHudPacket() /*override*/;
43 // NOLINTEND
44
45public:
46 // destructor thunk
47 // NOLINTBEGIN
48 MCAPI void $dtor();
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI ::MinecraftPacketIds $getId() const;
55
56 MCAPI ::std::string $getName() const;
57
58 MCAPI void $write(::BinaryStream& stream) const;
59
60 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition SetHudPacket.h:18