Exemplo n.º 1
0
        public void OnMarketGetMessage(Packets.Client.MarketGetMessage p)
        {
            /*
             * Expected packets:
             * SMSG_MARKETCOMMENT
             *
             * This function is called when the user opens their own items he/she has registered
             * At that time a request to get your own comment is send, and ends up here.
             */

            Packets.Server.MarketMessage p1 = new SagaMap.Packets.Server.MarketMessage();
            p1.SetReason(0);
            this.netIO.SendPacket(p1, this.SessionID);
        }
Exemplo n.º 2
0
 public void OnMarketGetComment(Packets.Client.MarketGetComment p)
 {
     /*
      * Expected packets:
      * SMSG_MARKETCOMMENT
      *
      * This function is used when a user requests to see the comment message
      * of the selected auctionid. Of his current search results.
      *
      * Approach: If not message was found or comment is 0-length send a reason
      * of 0x0B. This pops up a message thing user doesn't have comment set.
      */
     Packets.Server.MarketMessage p1 = new SagaMap.Packets.Server.MarketMessage();
     p1.SetReason(0xb);
     this.netIO.SendPacket(p1, this.SessionID);
 }
Exemplo n.º 3
0
        public void OnMarketGetMessage(Packets.Client.MarketGetMessage p)
        {
            /*
             * Expected packets:
             * SMSG_MARKETCOMMENT
             *
             * This function is called when the user opens their own items he/she has registered
             * At that time a request to get your own comment is send, and ends up here.
             */

            Packets.Server.MarketMessage p1 = new SagaMap.Packets.Server.MarketMessage();
            p1.SetReason(0);
            this.netIO.SendPacket(p1, this.SessionID);
        }
Exemplo n.º 4
0
 public void OnMarketGetComment(Packets.Client.MarketGetComment p)
 {
     /*
      * Expected packets:
      * SMSG_MARKETCOMMENT
      *
      * This function is used when a user requests to see the comment message
      * of the selected auctionid. Of his current search results.
      *
      * Approach: If not message was found or comment is 0-length send a reason
      * of 0x0B. This pops up a message thing user doesn't have comment set.
      */
     Packets.Server.MarketMessage p1 = new SagaMap.Packets.Server.MarketMessage();
     p1.SetReason(0xb);
     this.netIO.SendPacket(p1, this.SessionID);
 }