public void SendTradeResult(TradeResults result) { Packets.Server.TradeResult sendpacket = new SagaMap.Packets.Server.TradeResult(); sendpacket.SetStatus(result); netIO.SendPacket(sendpacket, this.SessionID); // and update monies Packets.Server.SendZeny p1 = new SagaMap.Packets.Server.SendZeny(); p1.SetZeny(this.Char.zeny); this.netIO.SendPacket(p1, this.SessionID); }
public void OnTradeResult(TradeResults result) { Packets.Server.TradeResult sendPacket = new SagaMap.Packets.Server.TradeResult(); sendPacket.SetStatus(result); C.netIO.SendPacket(sendPacket, C.SessionID); }