eft-lootvalueex/Plugin/Extensions/TarkovApplicationExtensions.cs

9 lines
463 B
C#
Raw Normal View History

2024-10-13 00:38:51 +02:00
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;
}
}