types go brr

This commit is contained in:
CWX
2025-01-22 22:04:50 +00:00
parent 4f80264eb4
commit c28e494229
3 changed files with 9 additions and 2 deletions
@@ -1,5 +1,7 @@
using System.Text.Json.Serialization;
using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Tables;
using Core.Models.Eft.Trade;
namespace Core.Models.Eft.Inventory;
@@ -14,7 +16,7 @@ public record AddItemsDirectRequest
/// Runs after EACH item with children is added
[JsonPropertyName("callback")]
public Action<double>? Callback { get; set; }
public Action<double, ProcessBuyTradeRequestData, string, PmcData>? Callback { get; set; }
/// Should sorting table be used when no space found in stash
[JsonPropertyName("useSortingTable")]
+1 -1
View File
@@ -528,7 +528,7 @@ public class FenceService(
/// </summary>
/// <param name="assortId">assort id to adjust</param>
/// <param name="buyCount">Count of items bought</param>
public void AmendOrRemoveFenceOffer(string assortId, int buyCount)
public void AmendOrRemoveFenceOffer(string assortId, double buyCount)
{
throw new NotImplementedException();
}
@@ -78,4 +78,9 @@ public class PaymentService
{
throw new NotImplementedException();
}
public void GiveProfileMoney(PmcData profileToReceiveMoney, double? sellRequestPrice, ProcessSellTradeRequestData sellRequest, ItemEventRouterResponse output, string sessionId)
{
throw new NotImplementedException();
}
}