6 #include "../ClientHandle.h" 14 super(etPainting, a_Direction, a_Pos),
35 if ((a_Killer !=
nullptr) && a_Killer->
IsPlayer() && !
static_cast<cPlayer *
>(a_Killer)->IsGameModeCreative())
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_ClientHandle) override
Descendants override this function to send a command to the specified client to spawn the entity on t...
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...
void SendPaintingSpawn(const cPainting &a_Painting)
eBlockFace
Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc...
bool IsPlayer(void) const
cPainting(const AString &a_Name, eBlockFace a_Direction, Vector3d a_Pos)
This class bridges a vector of cItem for safe access via Lua.