public virtual void Deserialize(BigEndianReader reader)
 {
     playerCount = reader.ReadInt();
     var limit = reader.ReadUShort();
     monsters = new Types.MonsterInGroupLightInformations[limit];
     for (int i = 0; i < limit; i++)
     {
          monsters[i] = new Types.MonsterInGroupLightInformations();
          monsters[i].Deserialize(reader);
     }
 }
        public virtual void Deserialize(IDataReader reader)
        {
            playerCount = reader.ReadInt();
            var limit = reader.ReadUShort();

            monsters = new Types.MonsterInGroupLightInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                monsters[i] = new Types.MonsterInGroupLightInformations();
                monsters[i].Deserialize(reader);
            }
        }
 public virtual void Deserialize(IDataReader reader)
 {
     mainCreatureLightInfos = new Types.MonsterInGroupLightInformations();
     mainCreatureLightInfos.Deserialize(reader);
     var limit = reader.ReadUShort();
     underlings = new Types.MonsterInGroupInformations[limit];
     for (int i = 0; i < limit; i++)
     {
          underlings[i] = new Types.MonsterInGroupInformations();
          underlings[i].Deserialize(reader);
     }
 }
        public virtual void Deserialize(BigEndianReader reader)
        {
            mainCreatureLightInfos = new Types.MonsterInGroupLightInformations();
            mainCreatureLightInfos.Deserialize(reader);
            var limit = reader.ReadUShort();

            underlings = new Types.MonsterInGroupInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                underlings[i] = new Types.MonsterInGroupInformations();
                underlings[i].Deserialize(reader);
            }
        }
Exemplo n.º 5
0
        public virtual void Deserialize(ICustomDataInput reader)
        {
            mainCreatureLightInfos = new Types.MonsterInGroupLightInformations();
            mainCreatureLightInfos.Deserialize(reader);
            var limit = reader.ReadShort();

            underlings = new Types.MonsterInGroupInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                (underlings as Types.MonsterInGroupInformations[])[i] = new Types.MonsterInGroupInformations();
                (underlings as Types.MonsterInGroupInformations[])[i].Deserialize(reader);
            }
        }
Exemplo n.º 6
0
        public virtual void Deserialize(IDataReader reader)
        {
            room    = reader.ReadSbyte();
            element = reader.ReadInt();
            var limit = (ushort)reader.ReadUShort();

            bosses = new Types.MonsterInGroupLightInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                bosses[i] = new Types.MonsterInGroupLightInformations();
                bosses[i].Deserialize(reader);
            }
            map           = reader.ReadDouble();
            score         = reader.ReadShort();
            relativeScore = reader.ReadShort();
            limit         = (ushort)reader.ReadUShort();
            monsters      = new Types.MonsterInGroupLightInformations[limit];
            for (int i = 0; i < limit; i++)
            {
                monsters[i] = new Types.MonsterInGroupLightInformations();
                monsters[i].Deserialize(reader);
            }
        }
 public GroupMonsterStaticInformations(Types.MonsterInGroupLightInformations mainCreatureLightInfos, Types.MonsterInGroupInformations[] underlings)
 {
     this.mainCreatureLightInfos = mainCreatureLightInfos;
     this.underlings             = underlings;
 }
 public GroupMonsterStaticInformationsWithAlternatives(Types.MonsterInGroupLightInformations mainCreatureLightInfos, Types.MonsterInGroupInformations[] underlings, Types.AlternativeMonstersInGroupLightInformations[] alternatives)
     : base(mainCreatureLightInfos, underlings)
 {
     this.alternatives = alternatives;
 }
 public GroupMonsterStaticInformations(Types.MonsterInGroupLightInformations mainCreatureLightInfos, Types.MonsterInGroupInformations[] underlings)
 {
     this.mainCreatureLightInfos = mainCreatureLightInfos;
     this.underlings = underlings;
 }