LeviLamina
Loading...
Searching...
No Matches
CorrectPlayerMovePredictionPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/enums/RewindType.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.h"
9#include "mc/platform/Result.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15class Vec2;
16class Vec3;
17struct PlayerInputTick;
18// clang-format on
19
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
25 ::ll::TypedStorage<4, 12, ::Vec3> mPosDelta;
26 ::ll::TypedStorage<4, 8, ::Vec2> mRotation;
27 ::ll::TypedStorage<4, 8, ::std::optional<float>> mVehicleAngularVelocity;
28 ::ll::TypedStorage<8, 8, ::PlayerInputTick> mTick;
29 ::ll::TypedStorage<1, 1, bool> mOnGround;
30 ::ll::TypedStorage<1, 1, ::RewindType> mPredictionType;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 1
37 virtual ::MinecraftPacketIds getId() const /*override*/;
38
39 // vIndex: 2
40 virtual ::std::string getName() const /*override*/;
41
42 // vIndex: 4
43 virtual void write(::BinaryStream& stream) const /*override*/;
44
45 // vIndex: 8
46 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
47
48 // vIndex: 0
49 virtual ~CorrectPlayerMovePredictionPacket() /*override*/;
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCFOLD void $dtor();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::MinecraftPacketIds $getId() const;
62
63 MCAPI ::std::string $getName() const;
64
65 MCAPI void $write(::BinaryStream& stream) const;
66
67 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition BinaryStream.h:10
Definition CorrectPlayerMovePredictionPacket.h:20
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition Vec2.h:5
Definition Vec3.h:10
Definition PlayerInputTick.h:5