LeviLamina
Loading...
Searching...
No Matches
BossEventPacket.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#include "mc/world/actor/ai/util/BossBarColor.h"
10#include "mc/world/actor/ai/util/BossBarOverlay.h"
11#include "mc/world/actor/ai/util/BossEventUpdateType.h"
12
13// auto generated forward declare list
14// clang-format off
15class BinaryStream;
17struct ActorUniqueID;
18namespace Bedrock::Safety { class RedactableString; }
19// clang-format on
20
21class BossEventPacket : public ::Packet {
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int const> FLAG_DARKEN;
26 ::ll::TypedStorage<4, 4, int const> FLAG_FOG;
27 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mBossID;
28 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mPlayerID;
29 ::ll::TypedStorage<4, 4, ::BossEventUpdateType> mEventType;
30 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mName;
31 ::ll::TypedStorage<4, 4, float> mHealthPercent;
32 ::ll::TypedStorage<4, 4, ::BossBarColor> mColor;
33 ::ll::TypedStorage<4, 4, ::BossBarOverlay> mOverlay;
34 ::ll::TypedStorage<1, 1, uchar> mDarkenScreen;
35 ::ll::TypedStorage<1, 1, uchar> mCreateWorldFog;
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 ~BossEventPacket() /*override*/;
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCAPI 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 BinaryStream.h:10
Definition BossEventPacket.h:21
Definition Packet.h:26
Definition ReadOnlyBinaryStream.h:8
Definition ActorUniqueID.h:5