예제 #1
0
 public ClientSellItemEventArgs(SellItemInfo i)
 {
     sellinfo = i;
 }
예제 #2
0
        public static SellItemInfo RecvSellItem(Packet p)
        {
            p.Skip(2);
            int npcid = p.ReadInt();
            int itemid = p.ReadInt();
            byte bag = p.ReadByte();
            byte slot = p.ReadByte();

            SellItemInfo i = new SellItemInfo
            {
                NpcID = npcid,
                ItemID = itemid,
                Bag = bag,
                Slot = slot
            };

            return i;
        }