LeviLamina
Loading...
Searching...
No Matches
ClientMovementPredictionSyncPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/vanilla_components/ActorDataBoundingBoxComponent.h"
7#include "mc/deps/vanilla_components/ActorDataFlagComponent.h"
8#include "mc/deps/vanilla_components/MovementAttributesComponent.h"
9#include "mc/legacy/ActorUniqueID.h"
10#include "mc/network/MinecraftPacketIds.h"
11#include "mc/network/Packet.h"
12#include "mc/platform/Result.h"
13
14// auto generated forward declare list
15// clang-format off
16class BinaryStream;
18// clang-format on
19
20class ClientMovementPredictionSyncPacket : public ::Packet {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 16, ::ActorDataFlagComponent> mActorDataFlag;
25 ::ll::TypedStorage<4, 12, ::ActorDataBoundingBoxComponent> mActorBoundingBox;
26 ::ll::TypedStorage<4, 48, ::MovementAttributesComponent> mMovementAttributes;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mActorID;
28 ::ll::TypedStorage<1, 1, bool> mIsFlying;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::MinecraftPacketIds getId() const /*override*/;
35
36 virtual ::std::string getName() const /*override*/;
37
38 virtual void write(::BinaryStream& stream) const /*override*/;
39
40 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
41
42 virtual ~ClientMovementPredictionSyncPacket() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI ::MinecraftPacketIds $getId() const;
49
50 MCAPI ::std::string $getName() const;
51
52 MCAPI void $write(::BinaryStream& stream) const;
53
54 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition BinaryStream.h:11
Definition ClientMovementPredictionSyncPacket.h:20
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8