示例#1
0
        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);
        }
示例#2
0
 public SpTradeList(Tradelist tradelist)
 {
     Tradelist = tradelist;
 }