LeviLamina
Loading...
Searching...
No Matches
EmotePacket.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/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class ActorRuntimeID;
13class BinaryStream;
15// clang-format on
16
17class EmotePacket : public ::Packet {
18public:
19 // EmotePacket inner types define
20 enum class Flags : uchar {
21 ServerSide = 1,
22 MuteEmoteChat = 2,
23 };
24
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
29 ::ll::TypedStorage<8, 32, ::std::string> mPieceId;
30 ::ll::TypedStorage<4, 4, uint> mEmoteTicks;
31 ::ll::TypedStorage<8, 32, ::std::string> mXuid;
32 ::ll::TypedStorage<8, 32, ::std::string> mPlatformId;
33 ::ll::TypedStorage<1, 1, uchar> mFlags;
34 // NOLINTEND
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 1
40 virtual ::MinecraftPacketIds getId() const /*override*/;
41
42 // vIndex: 2
43 virtual ::std::string getName() const /*override*/;
44
45 // vIndex: 4
46 virtual void write(::BinaryStream& stream) const /*override*/;
47
48 // vIndex: 8
49 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
50
51 // vIndex: 0
52 virtual ~EmotePacket() /*override*/;
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCAPI void $dtor();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::MinecraftPacketIds $getId() const;
65
66 MCAPI ::std::string $getName() const;
67
68 MCAPI void $write(::BinaryStream& stream) const;
69
70 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ActorRuntimeID.h:5
Definition BinaryStream.h:10
Definition EmotePacket.h:17
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8