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