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/legacy/ActorRuntimeID.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/packet/Packet.h"
9#include "mc/platform/Result.h"
10
11// auto generated forward declare list
12// clang-format off
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 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 8, ::ActorRuntimeID> mRuntimeId;
32 ::ll::TypedStorage<4, 4, ::AnimatePacket::Action> mAction;
33 ::ll::TypedStorage<4, 4, float> mData;
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 ~AnimatePacket() /*override*/;
53 // NOLINTEND
54
55public:
56 // destructor thunk
57 // NOLINTBEGIN
58 MCFOLD 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 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition AnimatePacket.h:17
static MCAPI void ** $vftable()
Definition BinaryStream.h:10
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8