public void Send(PacketBuffer buffer) { buffer.WriteVarInt(protocolVersion); buffer.WriteString(serverAdress); buffer.WriteUShort(serverPort); buffer.WriteVarInt(nextState); }
public void Send(PacketBuffer buffer) { buffer.WriteString(username); }