| 119 | |
| 120 | |
| 121 | bool cJukeboxEntity::LoadFromJson(const Json::Value & a_Value) |
| 122 | { |
| 123 | m_PosX = a_Value.get("x", 0).asInt(); |
| 124 | m_PosY = a_Value.get("y", 0).asInt(); |
| 125 | m_PosZ = a_Value.get("z", 0).asInt(); |
| 126 | |
| 127 | m_Record = a_Value.get("Record", 0).asInt(); |
| 128 | |
| 129 | return true; |
| 130 | } |
| 131 | |
| 132 | |
| 133 |