eft-lootvalueex/Plugin/Extensions/TarkovApplicationExtensions.cs
2024-10-12 19:38:51 -03:00

9 lines
463 B
C#

namespace LootValueEX.Extensions
{
internal static class TarkovApplicationExtensions
{
internal static IEnumerable<TraderClass> GetValidTraders(this EFT.TarkovApplication client) => client.GetClientBackEndSession().DisplayableTraders.Where(trader => !Common.Settings.TraderBlacklistList.Contains(trader.Id.ToLower()));
internal static bool RagfairUnlocked(this EFT.TarkovApplication client) => client.Session.RagFair.Available;
}
}