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/network/MinecraftPacketIds.h"
11#include "mc/network/packet/Packet.h"
12#include "mc/platform/Result.h"
13
14// auto generated forward declare list
15// clang-format off
16class ActorRuntimeID;
17class BinaryStream;
18class DataItem;
22struct PlayerInputTick;
23struct PropertySyncData;
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 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 0
40 virtual ~SetActorDataPacket() /*override*/;
41
42 // vIndex: 1
43 virtual ::MinecraftPacketIds getId() const /*override*/;
44
45 // vIndex: 2
46 virtual ::std::string getName() const /*override*/;
47
48 // vIndex: 4
49 virtual void write(::BinaryStream& stream) const /*override*/;
50
51 // vIndex: 8
52 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
61 ::PropertyComponent* propertyComponent,
62 uint64 tick,
63 bool packAll
64 );
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(
73 ::PropertyComponent* propertyComponent,
74 uint64 tick,
75 bool packAll
76 );
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCAPI void $dtor();
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCAPI ::MinecraftPacketIds $getId() const;
89
90 MCAPI ::std::string $getName() const;
91
92 MCAPI void $write(::BinaryStream& stream) const;
93
94 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition ActorRuntimeID.h:5
Definition BinaryStream.h:10
Definition DataItem.h:14
Definition Packet.h:26
Definition PropertyComponent.h:18
Definition ReadOnlyBinaryStream.h:8
Definition SetActorDataPacket.h:26
Definition SynchedActorDataEntityWrapper.h:18
Definition PlayerInputTick.h:5
Definition PropertySyncData.h:5