public override void Deserialize(IDataReader reader) { base.Deserialize(reader); int limit = reader.ReadUShort(); alternatives = new Types.AlternativeMonstersInGroupLightInformations[limit]; for (int i = 0; i < limit; i++) { (alternatives as AlternativeMonstersInGroupLightInformations[])[i] = new Types.AlternativeMonstersInGroupLightInformations(); (alternatives as Types.AlternativeMonstersInGroupLightInformations[])[i].Deserialize(reader); } }
public override void Deserialize(BigEndianReader reader) { base.Deserialize(reader); var limit = reader.ReadUShort(); alternatives = new Types.AlternativeMonstersInGroupLightInformations[limit]; for (int i = 0; i < limit; i++) { alternatives[i] = new Types.AlternativeMonstersInGroupLightInformations(); alternatives[i].Deserialize(reader); } }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); var limit = reader.ReadShort(); var alternatives_ = new Types.AlternativeMonstersInGroupLightInformations[limit]; for (int i = 0; i < limit; i++) { alternatives_[i] = new Types.AlternativeMonstersInGroupLightInformations(); alternatives_[i].Deserialize(reader); } alternatives = alternatives_; }