public ClientSellItemEventArgs(SellItemInfo i) { sellinfo = i; }
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; }