diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 11:18:14 +0300 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-04-04 11:18:14 +0300 |
commit | 9e683fff50ba4fef407613adf8407b31adca4596 (patch) | |
tree | 8dcb826fdaeeffbf6c5e781e59e22084c1bee736 /src/nodemetadata.h | |
parent | a9f89fb3fb72a57828ebceaeb4b469a005c11541 (diff) | |
download | minetest-9e683fff50ba4fef407613adf8407b31adca4596.tar.gz minetest-9e683fff50ba4fef407613adf8407b31adca4596.tar.bz2 minetest-9e683fff50ba4fef407613adf8407b31adca4596.zip |
initial chest metadata
Diffstat (limited to 'src/nodemetadata.h')
-rw-r--r-- | src/nodemetadata.h | 14 |
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: |