public override void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); figures = new Types.KrosmasterFigure[limit]; for (int i = 0; i < limit; i++) { figures[i] = new Types.KrosmasterFigure(); figures[i].Deserialize(reader); } }
public void Deserialize(IDataReader reader) { var limit = reader.ReadUShort(); figures = new Types.KrosmasterFigure[limit]; for (int i = 0; i < limit; i++) { figures[i] = new Types.KrosmasterFigure(); figures[i].Deserialize(reader); } }
public override void Deserialize(IDataReader reader) { var limit = reader.ReadShort(); var figures_ = new Types.KrosmasterFigure[limit]; for (int i = 0; i < limit; i++) { figures_[i] = new Types.KrosmasterFigure(); figures_[i].Deserialize(reader); } figures = figures_; }