Ejemplo n.º 1
0
 public void getPerkInstancesOfType(PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     for (int i = 0; i < this.PerkInstances.Count; i++)
     {
         this.PerkInstances[i].getPerkInstancesOfType(perkType, iconProvider, ref outPerkInstances);
     }
 }
Ejemplo n.º 2
0
 public void getPerkInstancesOfType(PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     for (int i = 0; i < this.QuickLookupPerkInstances.Count; i++)
     {
         PerkInstance perkInstance = this.QuickLookupPerkInstances[i];
         perkInstance.getPerkInstancesOfType(perkType, this.getBuffIconProvideForPerkInstance(perkInstance), ref outPerkInstances);
     }
 }
Ejemplo n.º 3
0
 public void getPerkInstancesOfType(int rank, PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     for (int i = 0; i < this.Entries.Count; i++)
     {
         if (rank >= this.Entries[i].RankReq)
         {
             this.Entries[i].PerkInstance.getPerkInstancesOfType(perkType, iconProvider, ref outPerkInstances);
         }
     }
 }
Ejemplo n.º 4
0
 public void getPerkInstancesOfType(PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     if (this.Type == perkType)
     {
         BuffSource source2 = new BuffSource();
         source2.Object       = this;
         source2.IconProvider = iconProvider;
         BuffSource source = source2;
         outPerkInstances.Add(new KeyValuePair <PerkInstance, BuffSource>(this, source));
     }
 }
Ejemplo n.º 5
0
 public void getPerkInstancesOfType(PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     for (int i = 0; i < this.SelectedRunestones.Count; i++)
     {
         if (this.SelectedRunestones[i].Source == RunestoneSelectionSource.Player)
         {
             string    id = this.SelectedRunestones[i].Id;
             SkillType skillTypeForRunestone = ConfigRunestones.GetSkillTypeForRunestone(id);
             if ((skillTypeForRunestone != SkillType.NONE) && this.Player.ActiveCharacter.isSkillActive(skillTypeForRunestone))
             {
                 ConfigRunestones.SharedData runestoneData = ConfigRunestones.GetRunestoneData(id);
                 if (runestoneData.PerkInstance != null)
                 {
                     runestoneData.PerkInstance.getPerkInstancesOfType(perkType, runestoneData, ref outPerkInstances);
                 }
             }
         }
     }
 }
Ejemplo n.º 6
0
 public void getPerkInstancesOfType(PerkType perkType, IBuffIconProvider iconProvider, ref List <KeyValuePair <PerkInstance, BuffSource> > outPerkInstances)
 {
     this.Perks.getPerkInstancesOfType(perkType, this.Item, ref outPerkInstances);
     this.Item.FixedPerks.getPerkInstancesOfType(perkType, this.Item, ref outPerkInstances);
 }