summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/SignEntity.cpp
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-30 23:20:21 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-09-30 23:20:21 +0200
commit9e4a5f824ae88e3a19de6a14db91b43c1759e29e (patch)
tree525247a87cf3c28c3407d3f0768e580e2c68e2fb /src/BlockEntities/SignEntity.cpp
parentMerge pull request #1485 from mc-server/PluginMessages (diff)
downloadcuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.gz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.bz2
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.lz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.xz
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.tar.zst
cuberite-9e4a5f824ae88e3a19de6a14db91b43c1759e29e.zip
Diffstat (limited to '')
-rw-r--r--src/BlockEntities/SignEntity.cpp35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/BlockEntities/SignEntity.cpp b/src/BlockEntities/SignEntity.cpp
index 423d254d2..d048d0218 100644
--- a/src/BlockEntities/SignEntity.cpp
+++ b/src/BlockEntities/SignEntity.cpp
@@ -22,7 +22,6 @@ cSignEntity::cSignEntity(BLOCKTYPE a_BlockType, int a_X, int a_Y, int a_Z, cWorl
-// It don't do anything when 'used'
void cSignEntity::UsedBy(cPlayer * a_Player)
{
UNUSED(a_Player);
@@ -80,37 +79,3 @@ void cSignEntity::SendTo(cClientHandle & a_Client)
-
-bool cSignEntity::LoadFromJson(const Json::Value & a_Value)
-{
- m_PosX = a_Value.get("x", 0).asInt();
- m_PosY = a_Value.get("y", 0).asInt();
- m_PosZ = a_Value.get("z", 0).asInt();
-
- m_Line[0] = a_Value.get("Line1", "").asString();
- m_Line[1] = a_Value.get("Line2", "").asString();
- m_Line[2] = a_Value.get("Line3", "").asString();
- m_Line[3] = a_Value.get("Line4", "").asString();
-
- return true;
-}
-
-
-
-
-
-void cSignEntity::SaveToJson(Json::Value & a_Value)
-{
- a_Value["x"] = m_PosX;
- a_Value["y"] = m_PosY;
- a_Value["z"] = m_PosZ;
-
- a_Value["Line1"] = m_Line[0];
- a_Value["Line2"] = m_Line[1];
- a_Value["Line3"] = m_Line[2];
- a_Value["Line4"] = m_Line[3];
-}
-
-
-
-