Example #1
0
 private Image GetCategoryIcon(EncounterCategory category)
 {
     return(category switch {
         EncounterCategory.Other => imageProvider.GetTinyUncategorizedIcon(),
         EncounterCategory.WorldVersusWorld => imageProvider.GetTinyWorldVersusWorldIcon(),
         EncounterCategory.Festival => imageProvider.GetTinyFestivalIcon(),
         EncounterCategory.Fractal => imageProvider.GetTinyFractalsIcon(),
         EncounterCategory.StrikeMission => imageProvider.GetTinyStrikeIcon(),
         EncounterCategory.SpecialForcesTrainingArea => imageProvider.GetTinyTrainingAreaIcon(),
         EncounterCategory.RaidWing1 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing2 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing3 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing4 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing5 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing6 => imageProvider.GetRaidWingIcon(),
         EncounterCategory.RaidWing7 => imageProvider.GetRaidWingIcon(),
         _ => null
     });