public ClientUseItemEventArgs(UseItemInfo i) { useinfo = i; }
public static UseItemInfo RecvUseItem(Packet p) { p.Skip(2); byte bag = p.ReadByte(); byte slot = p.ReadByte(); int itemId = p.ReadInt(); UseItemInfo i = new UseItemInfo { Bag = bag, Slot = slot, ItemID = itemId }; return i; }