fix: update MarketTaxRates, check category, add sharlayan

This commit is contained in:
goaaats 2021-12-03 14:28:24 +01:00
parent e4bb7a83f0
commit a44e7210bc
No known key found for this signature in database
GPG key ID: F18F057873895461
3 changed files with 27 additions and 4 deletions

View file

@ -191,14 +191,18 @@ namespace Dalamud.Game.Network.Internal
var taxes = MarketTaxRates.Read(dataPtr);
if (taxes.Category != 0xb0009)
return;
Log.Verbose(
"MarketTaxRates: limsa#{0} grid#{1} uldah#{2} ish#{3} kugane#{4} cr#{5}",
"MarketTaxRates: limsa#{0} grid#{1} uldah#{2} ish#{3} kugane#{4} cr#{5} sh#{6}",
taxes.LimsaLominsaTax,
taxes.GridaniaTax,
taxes.UldahTax,
taxes.IshgardTax,
taxes.KuganeTax,
taxes.CrystariumTax);
taxes.CrystariumTax,
taxes.SharlayanTax);
Task.Run(() => this.uploader.UploadTax(taxes))
.ContinueWith((task) => Log.Error(task.Exception, "Market Board tax data upload failed."), TaskContinuationOptions.OnlyOnFaulted);