using System.Collections.Generic; using System.Linq; using Dalamud.Game.ClientState.Party; namespace KamiLib.Extensions; public static class PartyMemberExtensions { public static bool HasStatus(this IPartyMember character, uint statusId) { return character.Statuses.Any(status => status.StatusId == statusId); } public static bool HasStatus(this IPartyMember character, List statusList) { return character.Statuses.Any(status => statusList.Contains(status.StatusId)); } }