Added character parameters and manual combo switch to the config file
This commit is contained in:
parent
824714b607
commit
b06f45a60a
1 changed files with 10 additions and 0 deletions
|
@ -3,12 +3,22 @@ use std::sync::LazyLock;
|
||||||
use common::util::load_or_create_config;
|
use common::util::load_or_create_config;
|
||||||
use serde::Deserialize;
|
use serde::Deserialize;
|
||||||
|
|
||||||
|
|
||||||
const DEFAULT_CONFIG: &str = include_str!("../gameserver.default.json");
|
const DEFAULT_CONFIG: &str = include_str!("../gameserver.default.json");
|
||||||
|
|
||||||
#[derive(Deserialize)]
|
#[derive(Deserialize)]
|
||||||
pub struct GameServerConfig {
|
pub struct GameServerConfig {
|
||||||
pub gateway_endpoint: String,
|
pub gateway_endpoint: String,
|
||||||
pub skip_tutorial: bool,
|
pub skip_tutorial: bool,
|
||||||
|
pub manual_chain_attacks: bool,
|
||||||
|
pub characters_lvl: u8,
|
||||||
|
pub characters_ascension_rank: u8,
|
||||||
|
pub characters_star_rank: u8,
|
||||||
|
pub characters_unlocked_talents: u8,
|
||||||
|
pub characters_normal_atk_lvl : u8,
|
||||||
|
pub characters_special_lvl : u8,
|
||||||
|
pub characters_dodge_lvl : u8,
|
||||||
|
pub characters_ult_lvl : u8,
|
||||||
pub system_resources_logging: bool,
|
pub system_resources_logging: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue