utility.h: Change Buffer's interface to be more compatible with SharedBuffer's interf...
[oweals/minetest.git] / src / nodemetadata.h
index de682f9b61561374a92ef80769e33f47ab335295..d81ade96cf434e8dbc5fc406679f44d1f535a199 100644 (file)
@@ -65,6 +65,9 @@ public:
        // Used to make custom inventory menus.
        // See format in guiInventoryMenu.cpp.
        virtual std::string getInventoryDrawSpecString(){return "";}
+       // primarily used for locking chests, but others can play too
+       virtual std::string getOwner(){ return std::string(""); }
+       virtual void setOwner(std::string t){  }
 
 protected:
        static void registerType(u16 id, Factory f);