24 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::Village>> mVillage;
25 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwnerID;
26 ::ll::TypedStorage<8, 72, ::Bedrock::Safety::RedactableString> mName;
27 ::ll::TypedStorage<8, 32, ::std::string> mProgress;
28 ::ll::TypedStorage<4, 4, int> mPlayersRegistered;
29 ::ll::TypedStorage<1, 1, bool> mWaveStarted;
30 ::ll::TypedStorage<1, 1, bool> mRaidInProgress;
31 ::ll::TypedStorage<1, 1, bool> mHealthBarVisible;
32 ::ll::TypedStorage<4, 4, float> mHealthPercent;
33 ::ll::TypedStorage<4, 24, ::AABB> mBossBarVisibleBounds;
34 ::ll::TypedStorage<8, 8, ::std::chrono::steady_clock::time_point> mLastPlayerUpdate;
47 MCAPI
void _broadcastBossEvent(::BossEventUpdateType type,
::Actor& owner);
49 MCAPI
void _handleRegisterPlayers(
::Actor& owner);
51 MCAPI
void _sendBossEvent(::BossEventUpdateType type,
::Player& player);
53 MCAPI ::Bedrock::Safety::RedactableString getName();
55 MCAPI
bool isWithinRange(
::Mob const& player);
59 MCAPI
void removeBossBar(
::Actor& owner);
63 MCAPI
void updateBossBarStats(
::Actor& owner,
::Raid const& raid);
65 MCAPI
void updateHealthBarVisible(
bool visible,
::Actor& owner);