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