aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/MinecraftInstance.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/MinecraftInstance.h')
-rw-r--r--launcher/minecraft/MinecraftInstance.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/MinecraftInstance.h b/launcher/minecraft/MinecraftInstance.h
index d62ac655..fe39674a 100644
--- a/launcher/minecraft/MinecraftInstance.h
+++ b/launcher/minecraft/MinecraftInstance.h
@@ -69,6 +69,8 @@ public:
// where the instance-local libraries should be
QString getLocalLibraryPath() const;
+ /** Returns whether the instance, with its version, has support for demo mode. */
+ [[nodiscard]] bool supportsDemo() const;
////// Profile management //////
std::shared_ptr<PackProfile> getPackProfile() const;