Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 /// <summary>
 /// Update the Zeny of the client.
 /// One value for Zeny and Rufi. '12000' = 1 Zeni 2000 Rufi.
 /// </summary>
 public void SendZeny()
 {
     Packets.Server.SendZeny p1 = new SagaMap.Packets.Server.SendZeny();
     p1.SetZeny(this.Char.zeny);
     this.netIO.SendPacket(p1, this.SessionID);
 }
Esempio n. 3
0
 /// <summary>
 /// Update the Zeny of the client.
 /// One value for Zeny and Rufi. '12000' = 1 Zeni 2000 Rufi.
 /// </summary>
 public void SendZeny()
 {
     Packets.Server.SendZeny p1 = new SagaMap.Packets.Server.SendZeny();
     p1.SetZeny(this.Char.zeny);
     this.netIO.SendPacket(p1, this.SessionID);
 }