using SptCommon.Annotations;
using Core.Models.Eft.Common;
using Core.Models.Eft.Common.Tables;
using Core.Models.Eft.ItemEvent;
using Core.Models.Eft.Trade;
namespace Core.Helpers;
[Injectable]
public class TradeHelper()
{
///
/// Buy item from flea or trader
///
/// Player profile
/// data from client
/// Session id
/// Should item be found in raid
/// Item event router response
public void buyItem(
PmcData pmcData,
ProcessBuyTradeRequestData buyRequestData,
string sessionID,
bool foundInRaid,
ItemEventRouterResponse output
)
{
throw new NotImplementedException();
}
///
/// Sell item to trader
///
/// Profile to remove items from
/// Profile to accept the money for selling item
/// Request data
/// Session id
/// Item event router response
public void sellItem(
PmcData profileWithItemsToSell,
PmcData profileToReceiveMoney,
ProcessSellTradeRequestData sellRequest,
string sessionID,
ItemEventRouterResponse output
)
{
throw new NotImplementedException();
}
protected void incrementCirculateSoldToTraderCounter(
PmcData profileWithItemsToSell,
PmcData profileToReceiveMoney,
ProcessSellTradeRequestData sellRequest
)
{
throw new NotImplementedException();
}
///
/// Traders allow a limited number of purchases per refresh cycle (default 60 mins)
///
/// Session id
/// Profile making the purchase
/// Trader assort is purchased from
/// the item from trader being bought
/// Id of assort being purchased
/// How many of the item are being bought
protected void checkPurchaseIsWithinTraderItemLimit(
string sessionId,
PmcData pmcData,
string traderId,
Item assortBeingPurchased,
string assortId,
int count
)
{
throw new NotImplementedException();
}
}