using Core.Models.Eft.Common.Tables;
namespace Core.Helpers;
public class TraderAssortHelper
{
public TraderAssortHelper()
{
}
///
/// Get a traders assorts
/// Can be used for returning ragfair / fence assorts
/// Filter out assorts not unlocked due to level OR quest completion
///
/// session id
/// traders id
/// Should assorts player hasn't unlocked be returned - default false
/// a traders' assorts
public TraderAssort GetAssort(string sessionId, string traderId, bool showLockedAssorts = false)
{
throw new NotImplementedException();
}
///
/// Given the blacklist provided, remove root items from assort
///
/// Trader assort to modify
/// Item TPLs the assort should not have
protected void RemoveItemsFromAssort(TraderAssort assortToFilter, List itemsTplsToRemove)
{
throw new NotImplementedException();
}
///
/// Reset every traders root item `BuyRestrictionCurrent` property to 0
///
/// Items to adjust
protected void ResetBuyRestrictionCurrentValue(List- assortItems)
{
throw new NotImplementedException();
}
///
/// Create a dict of all assort id = quest id mappings used to work out what items should be shown to player based on the quests they've started/completed/failed
///
protected void HydrateMergedQuestAssorts()
{
throw new NotImplementedException();
}
///
/// Reset a traders assorts and move nextResupply value to future
/// Flag trader as needing a flea offer reset to be picked up by flea update() function
///
/// trader details to alter
public void ResetExpiredTrader(Trader trader)
{
throw new NotImplementedException();
}
///
/// Does the supplied trader need its assorts refreshed
///
/// Trader to check
/// true they need refreshing
public bool TraderAssortsHaveExpired(string traderID)
{
throw new NotImplementedException();
}
///
/// Get an array of pristine trader items prior to any alteration by player (as they were on server start)
///
/// trader id
/// array of Items
protected List
- GetPristineTraderAssorts(string traderId)
{
throw new NotImplementedException();
}
}