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