mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 09:55:22 +02:00
on_newplayer and on_respawnplayer callbacks
This commit is contained in:
@@ -208,6 +208,12 @@ public:
|
||||
|
||||
u8 getType() const
|
||||
{return ACTIVEOBJECT_TYPE_PLAYER;}
|
||||
|
||||
virtual void setPos(v3f pos)
|
||||
{ setPosition(pos); }
|
||||
virtual void moveTo(v3f pos, bool continuous)
|
||||
{ setPosition(pos); }
|
||||
|
||||
virtual std::string getDescription(){return getName();}
|
||||
// Returns a reference
|
||||
virtual InventoryItem* getWieldedItem();
|
||||
|
Reference in New Issue
Block a user