public ClientStackItemInfoEventArgs(StackItemInfo i)
 {
     info = i;
 }
        public static StackItemInfo RecvStackItem(Packet p)
        {
            p.Skip(2);
            byte bag, slot, stackbag, stackslot;
            int itemid, stackitemid;

            bag = p.ReadByte();
            slot = p.ReadByte();
            itemid = p.ReadInt();
            stackbag = p.ReadByte();
            stackslot = p.ReadByte();
            stackitemid = p.ReadInt();

            StackItemInfo i = new StackItemInfo
            {
                Bag = bag,
                Slot = slot,
                ItemID = itemid,
                StackBag = stackbag,
                StackSlot = stackslot,
                StackItemID = stackitemid
            };

            return i;
        }