1
0

Removed WSSCompact

This commit is contained in:
Tiger Wang
2014-09-30 22:20:21 +01:00
parent 5de27e7edf
commit 9e4a5f824a
28 changed files with 0 additions and 1664 deletions

View File

@@ -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];
}