LeviLamina
Loading...
Searching...
No Matches
UpdateAttributesPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorRuntimeID.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/Packet.h"
9#include "mc/network/packet/PlayerInputTick.h"
10#include "mc/platform/Result.h"
11
12// auto generated forward declare list
13// clang-format off
16class BinaryStream;
18struct AttributeData;
19// clang-format on
20
21class UpdateAttributesPacket : public ::Packet {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
26 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeData>> mAttributeData;
27 ::ll::TypedStorage<8, 8, ::PlayerInputTick> mTick;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 UpdateAttributesPacket();
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual ~UpdateAttributesPacket() /*override*/;
38
39 virtual ::MinecraftPacketIds getId() const /*override*/;
40
41 virtual ::std::string getName() const /*override*/;
42
43 virtual void write(::BinaryStream& stream) const /*override*/;
44
45 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCAPI UpdateAttributesPacket(
52 ::ActorRuntimeID const& id,
53 ::BaseAttributeMap const& map,
54 ::std::vector<::AttributeInstanceHandle> const& dirtyData,
56 );
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void* $ctor(
63 ::ActorRuntimeID const& id,
64 ::BaseAttributeMap const& map,
65 ::std::vector<::AttributeInstanceHandle> const& dirtyData,
67 );
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::MinecraftPacketIds $getId() const;
80
81 MCAPI ::std::string $getName() const;
82
83 MCAPI void $write(::BinaryStream& stream) const;
84
85 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
86
87
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition ActorRuntimeID.h:5
Definition AttributeInstanceHandle.h:5
Definition BaseAttributeMap.h:19
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
static MCAPI void ** $vftable()
Definition AttributeData.h:17
Definition PlayerInputTick.h:5