From 0d56127758944ff0d8fb23bf2fa12daa9d2d05fc Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Sun, 11 Jun 2023 13:40:31 -0700 Subject: [PATCH] Add new mojang args (#9) --- daedalus/Cargo.toml | 2 +- daedalus/src/minecraft.rs | 15 +++++++++++++-- daedalus_client/Cargo.toml | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/daedalus/Cargo.toml b/daedalus/Cargo.toml index 2ecbc19..f00c0ae 100644 --- a/daedalus/Cargo.toml +++ b/daedalus/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus" -version = "0.1.22" +version = "0.1.23" authors = ["Jai A "] edition = "2018" license = "MIT" diff --git a/daedalus/src/minecraft.rs b/daedalus/src/minecraft.rs index 18ff41f..747fa8a 100644 --- a/daedalus/src/minecraft.rs +++ b/daedalus/src/minecraft.rs @@ -233,8 +233,19 @@ pub struct FeatureRule { /// Whether the user is in demo mode pub is_demo_user: Option, #[serde(skip_serializing_if = "Option::is_none")] - /// Whether the user is using the demo resolution - pub has_demo_resolution: Option, + /// Whether the user is using a custom resolution + pub has_custom_resolution: Option, + #[serde(skip_serializing_if = "Option::is_none")] + /// Whether the launcher has quick plays support + pub has_quick_plays_support: Option, + #[serde(skip_serializing_if = "Option::is_none")] + /// Whether the instance is being launched to a single-player world + pub is_quick_play_singleplayer: Option, + #[serde(skip_serializing_if = "Option::is_none")] + /// Whether the instance is being launched to a multi-player world + pub is_quick_play_multiplayer: Option, + /// Whether the instance is being launched to a realms world + pub is_quick_play_realms: Option, } #[cfg_attr(feature = "bincode", derive(Encode, Decode))] diff --git a/daedalus_client/Cargo.toml b/daedalus_client/Cargo.toml index fc7f2f4..a0d7491 100644 --- a/daedalus_client/Cargo.toml +++ b/daedalus_client/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "daedalus_client" -version = "0.1.22" +version = "0.1.23" authors = ["Jai A "] edition = "2018"