eBlockFace
Block face constants, used in PlayerDigging and PlayerBlockPlacement packets and bbox collision calc.
#define CLASS_PROTODEF(classname)
cHangingEntity(eEntityType a_EntityType, eBlockFace a_BlockFace, Vector3d a_Pos)
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...
const AString & GetName(void) const
Returns the protocol name of the painting.
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.