summaryrefslogtreecommitdiffstats
path: root/source/cSignEntity.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cSignEntity.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/source/cSignEntity.h b/source/cSignEntity.h
index b0e95e38c..31413c8c3 100644
--- a/source/cSignEntity.h
+++ b/source/cSignEntity.h
@@ -3,13 +3,19 @@
#include "cBlockEntity.h"
#include "FileDefine.h"
-#include <string>
+
+
+
namespace Json
{
class Value;
}
+
+
+
+
class cWorld;
class cSignEntity : public cBlockEntity
{
@@ -17,8 +23,7 @@ public:
cSignEntity(ENUM_BLOCK_ID a_BlockType, int a_X, int a_Y, int a_Z, cChunk* a_Chunk);
virtual ~cSignEntity();
- void WriteToFile(FILE* a_File);
- bool LoadFromFile(FILE* a_File);
+ bool LoadFromFile(cFile & a_File); // deprecated format
bool LoadFromJson( const Json::Value& a_Value );
void SaveToJson( Json::Value& a_Value );
@@ -32,4 +37,8 @@ public:
virtual void SendTo( cClientHandle* a_Client );
private:
std::string m_Line[4];
-}; \ No newline at end of file
+};
+
+
+
+