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
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
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~UpdateAttributesPacket() /*override*/;
39
40 // vIndex: 1
41 virtual ::MinecraftPacketIds getId() const /*override*/;
42
43 // vIndex: 2
44 virtual ::std::string getName() const /*override*/;
45
46 // vIndex: 5
47 virtual void write(::BinaryStream& stream) const /*override*/;
48
49 // vIndex: 14
50 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
57 ::ActorRuntimeID const& id,
58 ::BaseAttributeMap const& map,
59 ::std::vector<::AttributeInstanceHandle> const& dirtyData,
61 );
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor(
68 ::ActorRuntimeID const& id,
69 ::BaseAttributeMap const& map,
70 ::std::vector<::AttributeInstanceHandle> const& dirtyData,
72 );
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCAPI void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI ::MinecraftPacketIds $getId() const;
85
86 MCAPI ::std::string $getName() const;
87
88 MCAPI void $write(::BinaryStream& stream) const;
89
90 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition ActorRuntimeID.h:5
Definition AttributeInstanceHandle.h:5
Definition BaseAttributeMap.h:16
Definition BinaryStream.h:10
Definition Packet.h:43
Definition ReadOnlyBinaryStream.h:8
Definition UpdateAttributesPacket.h:21
static MCAPI void ** $vftable()
Definition AttributeData.h:17
Definition PlayerInputTick.h:5