LeviLamina
Loading...
Searching...
No Matches
ChangeMobPropertyPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/legacy/ActorUniqueID.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
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mPropName;
22 ::ll::TypedStorage<1, 1, bool> mBoolComponentVal;
23 ::ll::TypedStorage<4, 4, float> mFloatComponentVal;
24 ::ll::TypedStorage<4, 4, int> mIntComponentVal;
25 ::ll::TypedStorage<8, 32, ::std::string> mStringComponentVal;
26 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mActorId;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ::MinecraftPacketIds getId() const /*override*/;
34
35 // vIndex: 2
36 virtual ::std::string getName() const /*override*/;
37
38 // vIndex: 4
39 virtual void write(::BinaryStream& stream) const /*override*/;
40
41 // vIndex: 8
42 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
43
44 // vIndex: 0
45 virtual ~ChangeMobPropertyPacket() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI ::MinecraftPacketIds $getId() const;
52
53 MCAPI ::std::string $getName() const;
54
55 MCAPI void $write(::BinaryStream& stream) const;
56
57 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition BinaryStream.h:10
Definition ChangeMobPropertyPacket.h:17
static MCAPI void ** $vftable()
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8