public TradeController(Player player, Tradelist tradelist) { Player = player; Tradelist = tradelist; Cart = new ShoppingCart(); new SpTradeList(Tradelist).Send(Player.Connection); new SpUpdateTrade(Player, Cart).Send(Player.Connection); new SpInventory(player, true).Send(Player.Connection); SystemMessages.TradeHasBegun.Send(Player.Connection); }
public SpTradeList(Tradelist tradelist) { Tradelist = tradelist; }