mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-21 16:09:19 +01:00
implement universalis empty listing upload
This commit is contained in:
parent
ca6a38cb16
commit
345334aee1
2 changed files with 14 additions and 0 deletions
|
|
@ -179,6 +179,19 @@ namespace Dalamud.Game.Network {
|
||||||
request.History.AddRange(listing.HistoryListings);
|
request.History.AddRange(listing.HistoryListings);
|
||||||
|
|
||||||
Log.Verbose("Added history for item#{0}", listing.CatalogId);
|
Log.Verbose("Added history for item#{0}", listing.CatalogId);
|
||||||
|
|
||||||
|
if (request.AmountToArrive == 0) {
|
||||||
|
Log.Verbose("Request had 0 amount, uploading now");
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Task.Run(() => this.uploader.Upload(request));
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Log.Error(ex, "Market Board data upload failed.");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opCode == this.dalamud.Data.ServerOpCodes["MarketTaxRates"])
|
if (opCode == this.dalamud.Data.ServerOpCodes["MarketTaxRates"])
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ namespace Dalamud.Interface {
|
||||||
private const string ChangeLog =
|
private const string ChangeLog =
|
||||||
@"* The /xlbonus command was removed - it has been remade as the ""Adventurer in Need"" plugin by Caraxi and is way better now. Please check it out!
|
@"* The /xlbonus command was removed - it has been remade as the ""Adventurer in Need"" plugin by Caraxi and is way better now. Please check it out!
|
||||||
* Plugin UI is now also hidden when in GPose or in a cutscene. You can disable this in the /xlsettings window.
|
* Plugin UI is now also hidden when in GPose or in a cutscene. You can disable this in the /xlsettings window.
|
||||||
|
* Universalis will now be updated when a shown item has no listings.
|
||||||
* Updated the localization files
|
* Updated the localization files
|
||||||
* Added Norwegian, Korean and Russian localization - thanks a lot to all of our translators, especially Ridge, Hibiya and xDarkOne! If you wish to join the effort, please check our #translations channel.";
|
* Added Norwegian, Korean and Russian localization - thanks a lot to all of our translators, especially Ridge, Hibiya and xDarkOne! If you wish to join the effort, please check our #translations channel.";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue