using Common.Models; using System.Collections.Generic; namespace Common.Extensions; public static class EnumExtensions { private static readonly List bossTypes = new(){ BotType.bossbully, BotType.bossgluhar, BotType.bosskilla, BotType.bosskojaniy, BotType.bosssanitar, BotType.bosstagilla, BotType.bossboar }; public static bool IsBoss(this BotType self) { return bossTypes.Contains(self); } }