summaryrefslogtreecommitdiffstats
path: root/source/cBlockEntity.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/cBlockEntity.h')
-rw-r--r--source/cBlockEntity.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/cBlockEntity.h b/source/cBlockEntity.h
index 4ac453e6f..ad1cf14ba 100644
--- a/source/cBlockEntity.h
+++ b/source/cBlockEntity.h
@@ -11,6 +11,11 @@ enum ENUM_BLOCK_ID;
+namespace Json
+{
+ class Value;
+};
+
class cClientHandle;
class cPlayer;
class cWorld;
@@ -41,6 +46,8 @@ public:
cWorld * GetWorld(void) const {return m_World; }
+ virtual void SaveToJson (Json::Value & a_Value ) = 0;
+
virtual void UsedBy( cPlayer * a_Player ) = 0;
virtual void SendTo( cClientHandle* a_Client ) { (void)a_Client; }