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_view getName() const /*override*/;
40
41 virtual void write(::BinaryStream& stream) const /*override*/;
42
43 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI PlayerLocationPacket();
50
51 MCAPI PlayerLocationPacket(::PlayerLocationPacket::Type type, ::ActorUniqueID const& id, ::Vec3 const& pos);
52 // NOLINTEND
53
54public:
55 // constructor thunks
56 // NOLINTBEGIN
57 MCAPI void* $ctor();
58
59 MCAPI void* $ctor(::PlayerLocationPacket::Type type, ::ActorUniqueID const& id, ::Vec3 const& pos);
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::MinecraftPacketIds $getId() const;
66
67 MCAPI ::std::string_view $getName() const;
68
69 MCAPI void $write(::BinaryStream& stream) const;
70
71 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
Definition BinaryStream.h:11
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8
Definition Vec3.h:10
Definition ActorUniqueID.h:10