using Core.Models.Eft.Common.Tables;
namespace Core.Controllers;
public class TraderController
{
///
/// Runs when onLoad event is fired
/// Iterate over traders, ensure a pristine copy of their assorts is stored in traderAssortService
/// Store timestamp of next assort refresh in nextResupply property of traders .base object
///
public void Load()
{
throw new NotImplementedException();
}
///
/// Runs when onUpdate is fired
/// If current time is > nextResupply(expire) time of trader, refresh traders assorts and
/// Fence is handled slightly differently
///
///
public bool Update()
{
throw new NotImplementedException();
}
///
/// Handle client/trading/api/traderSettings
///
/// session id
/// Return a list of all traders
public List GetAllTraders(string sessionId)
{
throw new NotImplementedException();
}
///
/// Order traders by their traderId (Ttid)
///
/// First trader to compare
/// Second trader to compare
/// 1,-1 or 0
private int SortByTraderId(
TraderBase traderA,
TraderBase traderB)
{
throw new NotImplementedException();
}
///
/// Handle client/trading/api/getTrader
///
///
///
///
public TraderBase GetTrader(
string sessionId,
string traderId)
{
throw new NotImplementedException();
}
///
/// Handle client/trading/api/getTraderAssort
///
///
///
///
public TraderAssort GetAssort(
string sessionId,
string traderId)
{
throw new NotImplementedException();
}
///
/// Handle client/items/prices/TRADERID
///
///
public GetItemPricesResponse GetItemPrices()
{
throw new NotImplementedException();
}
}