Exemplo n.º 1
0
        public void ChangeTrade(RealmTime time, ChangeTradePacket pkt)
        {
            this.tradeAccepted = false;
            tradeTarget.tradeAccepted = false;
            this.trade = pkt.Offers;

            tradeTarget.psr.SendPacket(new TradeChangedPacket()
            {
                Offers = this.trade
            });
        }
Exemplo n.º 2
0
        public void ChangeTrade(RealmTime time, ChangeTradePacket pkt)
        {
            if (trade != pkt.Offers)
            {
                tradeAccepted = false;
                tradeTarget.tradeAccepted = false;
                trade = pkt.Offers;

                tradeTarget.Client.SendPacket(new TradeChangedPacket
                {
                    Offers = trade
                });
            }
        }