5 #include "../ClientHandle.h"
6 #include "../CompositeChat.h"
13 Super(
"EnderDragon",
mtEnderDragon,
"entity.enderdragon.hurt",
"entity.enderdragon.death",
"entity.enderdragon.ambient", 16, 8)
void SendBossBarAdd(UInt32 a_UniqueID, const cCompositeChat &a_Title, float a_FractionFilled, BossBarColor a_Color, BossBarDivisionType a_DivisionType, bool a_DarkenSky, bool a_PlayEndMusic, bool a_CreateFog)
Container for a single chat message composed of multiple functional parts.
float GetMaxHealth(void) const
UInt32 GetUniqueID(void) const
float GetHealth(void) const
Returns the health of this entity.
This class bridges a vector of cItem for safe access via Lua.
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
virtual void SpawnOn(cClientHandle &a_Client) override
Descendants override this function to send a command to the specified client to spawn the entity on t...
virtual void GetDrops(cItems &a_Drops, cEntity *a_Killer=nullptr) override
Returns the list of drops for this pawn when it is killed.
virtual void SpawnOn(cClientHandle &a_ClientHandle) override
Descendants override this function to send a command to the specified client to spawn the entity on t...
virtual bool DoTakeDamage(TakeDamageInfo &a_TDI) override
Makes this entity take damage specified in the a_TDI.
virtual void BroadcastBossBarUpdateHealth(const cEntity &a_Entity, UInt32 a_UniqueID, float a_FractionFilled) override