Add new mojang args (#9)

This commit is contained in:
Geometrically 2023-06-11 13:40:31 -07:00 committed by GitHub
parent 6c628afe5d
commit 0d56127758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 4 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "daedalus"
version = "0.1.22"
version = "0.1.23"
authors = ["Jai A <jaiagr+gpg@pm.me>"]
edition = "2018"
license = "MIT"

View File

@ -233,8 +233,19 @@ pub struct FeatureRule {
/// Whether the user is in demo mode
pub is_demo_user: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
/// Whether the user is using the demo resolution
pub has_demo_resolution: Option<bool>,
/// Whether the user is using a custom resolution
pub has_custom_resolution: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
/// Whether the launcher has quick plays support
pub has_quick_plays_support: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
/// Whether the instance is being launched to a single-player world
pub is_quick_play_singleplayer: Option<bool>,
#[serde(skip_serializing_if = "Option::is_none")]
/// Whether the instance is being launched to a multi-player world
pub is_quick_play_multiplayer: Option<bool>,
/// Whether the instance is being launched to a realms world
pub is_quick_play_realms: Option<bool>,
}
#[cfg_attr(feature = "bincode", derive(Encode, Decode))]

View File

@ -1,6 +1,6 @@
[package]
name = "daedalus_client"
version = "0.1.22"
version = "0.1.23"
authors = ["Jai A <jaiagr+gpg@pm.me>"]
edition = "2018"