public override void Deserialize(GenericReader reader) { base.Deserialize(reader); int version = reader.ReadInt(); switch (version) { case 1: { m_LandlordRemove = reader.ReadMobile(); goto case 0; } case 0: { m_toDelete = reader.ReadItemList(); m_Stone = (CityManagementStone)reader.ReadItem(); m_Type = (CivicSignType)reader.ReadInt(); break; } } }
public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); switch ( version ) { case 1: { m_LandlordRemove = reader.ReadMobile(); goto case 0; } case 0: { m_toDelete = reader.ReadItemList(); m_Stone = (CityManagementStone)reader.ReadItem(); m_Type = (CivicSignType)reader.ReadInt(); break; } } }