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.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
26class SetActorDataPacket : public ::Packet {
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
38 SetActorDataPacket();
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ~SetActorDataPacket() /*override*/;
44
45 virtual ::MinecraftPacketIds getId() const /*override*/;
46
47 virtual ::std::string getName() const /*override*/;
48
49 virtual void write(::BinaryStream& stream) const /*override*/;
50
51 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI SetActorDataPacket(
60 ::PropertyComponent* propertyComponent,
61 uint64 tick,
62 bool packAll
63 );
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(
72 ::PropertyComponent* propertyComponent,
73 uint64 tick,
74 bool packAll
75 );
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCAPI void $dtor();
82 // NOLINTEND
83
84public:
85 // virtual function thunks
86 // NOLINTBEGIN
87 MCAPI ::MinecraftPacketIds $getId() const;
88
89 MCAPI ::std::string $getName() const;
90
91 MCAPI void $write(::BinaryStream& stream) const;
92
93 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
94
95
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition ActorRuntimeID.h:5
Definition BinaryStream.h:11
Definition DataItem.h:14
Definition PropertyComponent.h:19
Definition ReadOnlyBinaryStream.h:8
static MCAPI void ** $vftable()
Definition SynchedActorDataEntityWrapper.h:18
Definition PlayerInputTick.h:5
Definition PropertySyncData.h:5