feat: get best trader offer for items
TODO: Make a better conversion for USD/EUR to RUB
This commit is contained in:
@@ -25,7 +25,8 @@ namespace LootValueEX.Patches.Screens
|
||||
Stopwatch sw = Stopwatch.StartNew();
|
||||
foreach(EFT.InventoryLogic.Item item in profile.Inventory.GetPlayerItems(EFT.InventoryLogic.EPlayerItems.Equipment))
|
||||
{
|
||||
Plugin.Log.LogDebug($"Equip Process: {item.LocalizedName()} ({item.TemplateId}): {await item.GetCustomHashAsync()}");
|
||||
//Plugin.Log.LogDebug($"Equip Process: {item.LocalizedName()} ({item.TemplateId}): {await item.GetCustomHashAsync()}");
|
||||
continue;
|
||||
}
|
||||
sw.Stop();
|
||||
Plugin.Log.LogDebug($"Equipment processing finished in {sw.ElapsedMilliseconds}ms");
|
||||
@@ -43,7 +44,8 @@ namespace LootValueEX.Patches.Screens
|
||||
Stopwatch sw = Stopwatch.StartNew();
|
||||
foreach (EFT.InventoryLogic.Item item in lootItemClass.GetAllItems())
|
||||
{
|
||||
Plugin.Log.LogDebug($"LootItemClass process: {item.LocalizedName()} ({item.TemplateId}): {await item.GetCustomHashAsync()}");
|
||||
//Plugin.Log.LogDebug($"LootItemClass process: {item.LocalizedName()} ({item.TemplateId}): {await item.GetCustomHashAsync()}");
|
||||
continue;
|
||||
}
|
||||
Plugin.Log.LogDebug($"LootItemClass processing finished in {sw.ElapsedMilliseconds}ms");
|
||||
tcsLoot.SetResult(true);
|
||||
|
||||
Reference in New Issue
Block a user