public ImplantModel(ImplantSlot slot) { this.Slot = slot; shinyClusterHash = slot.ShinyClusterTemplates.ToDictionary(t => t.Stat.Name); brightClusterHash = slot.BrightClusterTemplates.ToDictionary(t => t.Stat.Name); fadedClusterHash = slot.FadedClusterTemplates.ToDictionary(t => t.Stat.Name); }
public ImplantConfigurationViewModel(ImplantSlot implantSlot) { ImplantSlot = implantSlot; ShinyClusterOptions = implantSlot.ShinyClusterTemplates .Select(t => new ClusterOption(t.Stat)) .Prepend(new ClusterOption()) .ToArray(); BrightClusterOptions = implantSlot.BrightClusterTemplates .Select(t => new ClusterOption(t.Stat)) .Prepend(new ClusterOption()) .ToArray(); FadedClusterOptions = implantSlot.FadedClusterTemplates .Select(t => new ClusterOption(t.Stat)) .Prepend(new ClusterOption()) .ToArray(); }
private BrightClusterTemplate(Stat stat, ImplantSlot implantSlot) : base(stat, ClusterGrade.Bright, implantSlot) { }
private FadedClusterTemplate(Stat stat, ImplantSlot implantSlot) : base(stat, ClusterGrade.Faded, implantSlot) { }
private ShinyClusterTemplate(Stat stat, ImplantSlot implantSlot) : base(stat, ClusterGrade.Shiny, implantSlot) { }