Exemple #1
0
 public GroupMonsterStaticInformations(
     MonsterInGroupLightInformations mainCreatureLightInfos,
     List <MonsterInGroupInformations> underlings
     )
 {
     MainCreatureLightInfos = mainCreatureLightInfos;
     Underlings             = underlings;
 }
 public GroupMonsterStaticInformationsWithAlternatives(
     MonsterInGroupLightInformations mainCreatureLightInfos,
     List <MonsterInGroupInformations> underlings,
     List <AlternativeMonstersInGroupLightInformations> alternatives
     ) : base(
         mainCreatureLightInfos,
         underlings
         )
 {
     Alternatives = alternatives;
 }
        public override void Deserialize(ICustomDataInput reader)
        {
            PlayerCount = reader.ReadInt();
            var countMonsters = reader.ReadShort();

            Monsters = new List <MonsterInGroupLightInformations>();
            for (short i = 0; i < countMonsters; i++)
            {
                MonsterInGroupLightInformations type = new MonsterInGroupLightInformations();
                type.Deserialize(reader);
                Monsters.Add(type);
            }
        }
Exemple #4
0
        public override void Deserialize(ICustomDataInput reader)
        {
            MainCreatureLightInfos = new MonsterInGroupLightInformations();
            MainCreatureLightInfos.Deserialize(reader);
            var countUnderlings = reader.ReadShort();

            Underlings = new List <MonsterInGroupInformations>();
            for (short i = 0; i < countUnderlings; i++)
            {
                MonsterInGroupInformations type = new MonsterInGroupInformations();
                type.Deserialize(reader);
                Underlings.Add(type);
            }
        }
Exemple #5
0
        public override void Deserialize(ICustomDataInput reader)
        {
            Room    = reader.ReadByte();
            Element = reader.ReadInt();
            var countBosses = reader.ReadShort();

            Bosses = new List <MonsterInGroupLightInformations>();
            for (short i = 0; i < countBosses; i++)
            {
                MonsterInGroupLightInformations type = new MonsterInGroupLightInformations();
                type.Deserialize(reader);
                Bosses.Add(type);
            }
            Map = reader.ReadDouble();
        }
        public override void Deserialize(ICustomDataInput reader)
        {
            base.Deserialize(reader);
            var countMonsters = reader.ReadShort();

            Monsters = new List <MonsterInGroupLightInformations>();
            for (short i = 0; i < countMonsters; i++)
            {
                MonsterInGroupLightInformations type = new MonsterInGroupLightInformations();
                type.Deserialize(reader);
                Monsters.Add(type);
            }
            var countRewards = reader.ReadShort();

            Rewards = new List <BreachReward>();
            for (short i = 0; i < countRewards; i++)
            {
                BreachReward type = new BreachReward();
                type.Deserialize(reader);
                Rewards.Add(type);
            }
            Modifier = reader.ReadVarInt();
            Prize    = reader.ReadVarInt();
        }