summaryrefslogtreecommitdiff
path: root/src/nodemetadata.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-04-04 11:18:14 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-04-04 11:18:14 +0300
commit9e683fff50ba4fef407613adf8407b31adca4596 (patch)
tree8dcb826fdaeeffbf6c5e781e59e22084c1bee736 /src/nodemetadata.h
parenta9f89fb3fb72a57828ebceaeb4b469a005c11541 (diff)
downloadminetest-9e683fff50ba4fef407613adf8407b31adca4596.tar.gz
minetest-9e683fff50ba4fef407613adf8407b31adca4596.tar.bz2
minetest-9e683fff50ba4fef407613adf8407b31adca4596.zip
initial chest metadata
Diffstat (limited to 'src/nodemetadata.h')
-rw-r--r--src/nodemetadata.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nodemetadata.h b/src/nodemetadata.h
index aa2e0196c..21916677e 100644
--- a/src/nodemetadata.h
+++ b/src/nodemetadata.h
@@ -79,6 +79,20 @@ private:
std::string m_text;
};
+class ChestNodeMetadata : public NodeMetadata
+{
+public:
+ ChestNodeMetadata();
+
+ virtual u16 typeId() const;
+ static NodeMetadata* create(std::istream &is);
+ virtual NodeMetadata* clone();
+ virtual void serializeBody(std::ostream &os);
+ virtual std::string infoText();
+
+private:
+};
+
class NodeMetadataList
{
public: