6 #include "../ClientHandle.h"
14 Super(etPainting, a_Direction, a_Pos),
eBlockFace
Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc.
void SendPaintingSpawn(const cPainting &a_Painting)
const Vector3d & GetPosition(void) const
Exported in ManualBindings.
virtual void KilledBy(TakeDamageInfo &a_TDI) override
Called when the health drops below zero.
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...
cPainting(const AString &a_Name, eBlockFace a_Direction, Vector3d a_Pos)
virtual void GetDrops(cItems &a_Items, cEntity *a_Killer) override
Returns the list of drops for this pawn when it is killed.
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 KilledBy(TakeDamageInfo &a_TDI) override
Called when the health drops below zero.
This class bridges a vector of cItem for safe access via Lua.
virtual void BroadcastSoundEffect(const AString &a_SoundName, Vector3d a_Position, float a_Volume, float a_Pitch, const cClientHandle *a_Exclude=nullptr) override