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;
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 virtual ::MinecraftPacketIds getId() const /*override*/;
42
43 virtual ::std::string getName() const /*override*/;
44
45 virtual void write(::BinaryStream& stream) const /*override*/;
46
47 virtual ::Bedrock::Result<void> _read(::ReadOnlyBinaryStream& stream) /*override*/;
48
49 virtual ~BossEventPacket() /*override*/;
50 // NOLINTEND
51
52public:
53 // destructor thunk
54 // NOLINTBEGIN
55 MCAPI void $dtor();
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCAPI ::MinecraftPacketIds $getId() const;
62
63 MCAPI ::std::string $getName() const;
64
65 MCAPI void $write(::BinaryStream& stream) const;
66
67 MCAPI ::Bedrock::Result<void> $_read(::ReadOnlyBinaryStream& stream);
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCNAPI static void** $vftable();
76 // NOLINTEND
77};
Definition BinaryStream.h:11
Definition BossEventPacket.h:21
static MCAPI void ** $vftable()
Definition ReadOnlyBinaryStream.h:8