public creativeInventory(Wrapped.Wrapped socket, Form1 mainform, short slot, Classes.Item clicked) { functions helper = new functions(); socket.SendByte(0x6b); socket.writeShort(slot); helper.writeSlot(clicked, socket); }