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);
            }
        }
예제 #2
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);
            }
        }
예제 #3
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();
        }
예제 #4
0
        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();
        }