Skip to content

Commit

Permalink
Add new mojang args (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically authored Jun 11, 2023
1 parent 6c628af commit 0d56127
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion daedalus/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
15 changes: 13 additions & 2 deletions daedalus/src/minecraft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))]
Expand Down
2 changes: 1 addition & 1 deletion daedalus_client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"

Expand Down

0 comments on commit 0d56127

Please sign in to comment.