From 1f2bed2ef119094bdc156aa3a206b93dea5081d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 16 Jun 2016 02:20:23 +0200 Subject: NOISSUE implement direct java launch Just running the Java process and giving it params on the command line --- api/logic/minecraft/onesix/OneSixInstance.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'api/logic/minecraft/onesix/OneSixInstance.h') diff --git a/api/logic/minecraft/onesix/OneSixInstance.h b/api/logic/minecraft/onesix/OneSixInstance.h index 2dfab48c..1a917e79 100644 --- a/api/logic/minecraft/onesix/OneSixInstance.h +++ b/api/logic/minecraft/onesix/OneSixInstance.h @@ -53,10 +53,9 @@ public: virtual QString instanceConfigFolder() const override; virtual std::shared_ptr createUpdateTask() override; - virtual std::shared_ptr createLaunchTask(AuthSessionPtr account) override; virtual std::shared_ptr createJarModdingTask() override; - virtual QString createLaunchScript(AuthSessionPtr session) override; + QStringList verboseDescription(AuthSessionPtr session) override; virtual void cleanupAfterRun() override; @@ -99,11 +98,23 @@ public: return true; } + QStringList getClassPath() const override; + QString getMainClass() const override; + + QStringList getNativeJars() const override; + QString getNativePath() const override; + + QStringList processMinecraftArgs(AuthSessionPtr account) const override; + +protected: + std::shared_ptr createMainLaunchStep(LaunchTask *parent, AuthSessionPtr session) override; + QStringList validLaunchMethods() override; + signals: void versionReloaded(); private: - QStringList processMinecraftArgs(AuthSessionPtr account); + QString mainJarPath() const; protected: std::shared_ptr m_profile; -- cgit v1.2.3