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/legacy/ActorUniqueID.h"
7#include "mc/network/MinecraftPacketIds.h"
8#include "mc/network/Packet.h"
9#include "mc/platform/Result.h"
10#include "mc/safety/RedactableString.h"
11#include "mc/world/actor/ai/util/BossBarColor.h"
12#include "mc/world/actor/ai/util/BossBarOverlay.h"
13#include "mc/world/actor/ai/util/BossEventUpdateType.h"
14
15// auto generated forward declare list
16// clang-format off
17class BinaryStream;
20struct BossComponent;
21// clang-format on
22
23class BossEventPacket : public ::Packet {
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, int const> FLAG_DARKEN;
28 ::ll::TypedStorage<4, 4, int const> FLAG_FOG;
29 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mBossID;
30 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mPlayerID;
31 ::ll::TypedStorage<4, 4, ::BossEventUpdateType> mEventType;
32 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mName;
33 ::ll::TypedStorage<4, 4, float> mHealthPercent;
34 ::ll::TypedStorage<4, 4, ::BossBarColor> mColor;
35 ::ll::TypedStorage<4, 4, ::BossBarOverlay> mOverlay;
36 ::ll::TypedStorage<1, 1, uchar> mDarkenScreen;
37 ::ll::TypedStorage<1, 1, uchar> mCreateWorldFog;
38 // NOLINTEND
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 virtual ::MinecraftPacketIds getId() const /*override*/;
44
45 virtual ::std::string_view getName() const /*override*/;
46
47 virtual void write(::BinaryStream& stream) const /*override*/;
48
49 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI BossEventPacket();
56
57 MCAPI BossEventPacket(::BossEventUpdateType type, ::RaidBossComponent& component);
58
59 MCAPI BossEventPacket(::BossEventUpdateType type, ::ActorUniqueID bossID, ::BossComponent& component);
60
61#ifdef LL_PLAT_C
62 MCAPI BossEventPacket(::BossEventUpdateType type, ::ActorUniqueID bossID, ::ActorUniqueID playerID);
63#endif
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor();
70
71 MCAPI void* $ctor(::BossEventUpdateType type, ::RaidBossComponent& component);
72
73 MCAPI void* $ctor(::BossEventUpdateType type, ::ActorUniqueID bossID, ::BossComponent& component);
74
75#ifdef LL_PLAT_C
76 MCAPI void* $ctor(::BossEventUpdateType type, ::ActorUniqueID bossID, ::ActorUniqueID playerID);
77#endif
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI ::MinecraftPacketIds $getId() const;
84
85 MCAPI ::std::string_view $getName() const;
86
87 MCAPI void $write(::BinaryStream& stream) const;
88
89 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
90
91
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCNAPI static void** $vftable();
98 // NOLINTEND
99};
Definition BinaryStream.h:11
static MCAPI void ** $vftable()
Definition RaidBossComponent.h:21
Definition ReadOnlyBinaryStream.h:8
Definition ActorUniqueID.h:10
Definition BossComponent.h:20