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