LeviLamina
Loading...
Searching...
No Matches
AnimatePacket.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 AnimatePacket : public ::Packet {
18public:
19 // AnimatePacket inner types define
20 enum class Action : int {
21 NoAction = 0,
22 Swing = 1,
23 WakeUp = 3,
24 CriticalHit = 4,
25 MagicCriticalHit = 5,
26 RowRight = 128,
27 RowLeft = 129,
28 };
29
30public:
31 // member variables
32 // NOLINTBEGIN
33 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
34 ::ll::TypedStorage<4, 4, ::AnimatePacket::Action> mAction;
35 ::ll::TypedStorage<4, 4, float> mData;
36 // NOLINTEND
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 1
42 virtual ::MinecraftPacketIds getId() const /*override*/;
43
44 // vIndex: 2
45 virtual ::std::string getName() const /*override*/;
46
47 // vIndex: 4
48 virtual void write(::BinaryStream& stream) const /*override*/;
49
50 // vIndex: 8
51 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
52
53 // vIndex: 0
54 virtual ~AnimatePacket() /*override*/;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::MinecraftPacketIds $getId() const;
67
68 MCAPI ::std::string $getName() const;
69
70 MCAPI void $write(::BinaryStream& stream) const;
71
72 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition ActorRuntimeID.h:5
Definition AnimatePacket.h:17
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8