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/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
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 // vIndex: 1
38 virtual ::MinecraftPacketIds getId() const /*override*/;
39
40 // vIndex: 2
41 virtual ::std::string getName() const /*override*/;
42
43 // vIndex: 4
44 virtual void write(::BinaryStream& stream) const /*override*/;
45
46 // vIndex: 8
47 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
48
49 // vIndex: 0
50 virtual ~PlayerLocationPacket() /*override*/;
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::MinecraftPacketIds $getId() const;
63
64 MCAPI ::std::string $getName() const;
65
66 MCAPI void $write(::BinaryStream& stream) const;
67
68 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BinaryStream.h:10
Definition Packet.h:26
Definition PlayerLocationPacket.h:18
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8