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