public GroupMonsterStaticInformations( MonsterInGroupLightInformations mainCreatureLightInfos, List <MonsterInGroupInformations> underlings) { this.mainCreatureLightInfos = mainCreatureLightInfos; this.underlings = underlings; }
public virtual void Deserialize(IDataReader reader) { this.room = (uint)reader.ReadByte(); if (this.room < 0U) { throw new Exception("Forbidden value (" + (object)this.room + ") on element of BreachBranch.room."); } this.element = (uint)reader.ReadInt(); if (this.element < 0U) { throw new Exception("Forbidden value (" + (object)this.element + ") on element of BreachBranch.element."); } uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { MonsterInGroupLightInformations lightInformations = new MonsterInGroupLightInformations(); lightInformations.Deserialize(reader); this.bosses.Add(lightInformations); } this.map = reader.ReadDouble(); if (this.map < 0.0 || this.map > 9.00719925474099E+15) { throw new Exception("Forbidden value (" + (object)this.map + ") on element of BreachBranch.map."); } }
public override void Deserialize(IDataReader reader) { base.Deserialize(reader); uint num1 = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num1; ++index) { MonsterInGroupLightInformations lightInformations = new MonsterInGroupLightInformations(); lightInformations.Deserialize(reader); this.monsters.Add(lightInformations); } uint num2 = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num2; ++index) { BreachReward breachReward = new BreachReward(); breachReward.Deserialize(reader); this.rewards.Add(breachReward); } this.modifier = reader.ReadVarUhInt(); if (this.modifier < 0U) { throw new Exception("Forbidden value (" + (object)this.modifier + ") on element of ExtendedBreachBranch.modifier."); } this.prize = reader.ReadVarUhInt(); if (this.prize < 0U) { throw new Exception("Forbidden value (" + (object)this.prize + ") on element of ExtendedBreachBranch.prize."); } }
public GroupMonsterStaticInformationsWithAlternatives( MonsterInGroupLightInformations mainCreatureLightInfos, List <MonsterInGroupInformations> underlings, List <AlternativeMonstersInGroupLightInformations> alternatives) : base(mainCreatureLightInfos, underlings) { this.alternatives = alternatives; }
public virtual void Deserialize(IDataReader reader) { this.playerCount = reader.ReadInt(); uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { MonsterInGroupLightInformations lightInformations = new MonsterInGroupLightInformations(); lightInformations.Deserialize(reader); this.monsters.Add(lightInformations); } }
public virtual void Deserialize(IDataReader reader) { this.mainCreatureLightInfos = new MonsterInGroupLightInformations(); this.mainCreatureLightInfos.Deserialize(reader); uint num = (uint)reader.ReadUShort(); for (int index = 0; (long)index < (long)num; ++index) { MonsterInGroupInformations groupInformations = new MonsterInGroupInformations(); groupInformations.Deserialize(reader); this.underlings.Add(groupInformations); } }