LeviLamina
Loading...
Searching...
No Matches
SetActorDataPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/legacy/ActorRuntimeID.h"
5#include "mc/network/packet/PlayerInputTick.h"
6#include "mc/world/actor/DataItem.h"
7#include "mc/world/actor/state/PropertySyncData.h"
8
9// auto generated inclusion list
10#include "mc/legacy/ActorRuntimeID.h"
11#include "mc/network/MinecraftPacketIds.h"
12#include "mc/network/packet/Packet.h"
13#include "mc/network/packet/PlayerInputTick.h"
14#include "mc/platform/Result.h"
15#include "mc/world/actor/state/PropertySyncData.h"
16
17// auto generated forward declare list
18// clang-format off
19class BinaryStream;
20class DataItem;
24// clang-format on
25
27public:
28 // member variables
29 // NOLINTBEGIN
31 ::std::vector<::std::unique_ptr<::DataItem>> mPackedItems;
32 ::PropertySyncData mSynchedProperties;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 0
44 virtual ~SetActorDataPacket() /*override*/;
45
46 // vIndex: 1
47 virtual ::MinecraftPacketIds getId() const /*override*/;
48
49 // vIndex: 2
50 virtual ::std::string getName() const /*override*/;
51
52 // vIndex: 4
53 virtual void write(::BinaryStream& stream) const /*override*/;
54
55 // vIndex: 8
56 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
57 // NOLINTEND
58
59public:
60 // member functions
61 // NOLINTBEGIN
65 ::PropertyComponent* propertyComponent,
66 uint64 tick,
67 bool packAll
68 );
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void* $ctor(
77 ::PropertyComponent* propertyComponent,
78 uint64 tick,
79 bool packAll
80 );
81 // NOLINTEND
82
83public:
84 // destructor thunk
85 // NOLINTBEGIN
86 MCAPI void $dtor();
87 // NOLINTEND
88
89public:
90 // virtual function thunks
91 // NOLINTBEGIN
92 MCAPI ::MinecraftPacketIds $getId() const;
93
94 MCAPI ::std::string $getName() const;
95
96 MCAPI void $write(::BinaryStream& stream) const;
97
98 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
Definition ActorRuntimeID.h:5
Definition BinaryStream.h:10
Definition DataItem.h:14
Definition Packet.h:26
Definition PropertyComponent.h:19
Definition ReadOnlyBinaryStream.h:8
Definition SetActorDataPacket.h:26
static MCAPI void ** $vftable()
Definition SynchedActorDataEntityWrapper.h:18
Definition PlayerInputTick.h:5
Definition PropertySyncData.h:5