ck3oop_core_rs/workspace.rs
1use crate::mods::{ModList, ModLoadOrder};
2
3/// Workspace is a main unit of the application.
4/// Before you can work with mods, you need to create a workspace.
5#[derive(Default)]
6pub struct Workspace {
7 /// Unique identifier of the workspace.
8 pub id: String,
9 /// Name of the workspace.
10 pub name: String,
11 /// Path to the game directory.
12 /// (Steam/steamapps/common/Crusader Kings III).
13 pub game_path: String,
14 /// Path to the game data directory
15 /// (documents/Paradox Interactive/Crusader Kings III).
16 pub game_data_path: String,
17 /// All mods available in the workspace.
18 pub mod_list: ModList,
19 /// Load order of the mods.
20 pub mod_load_order: ModLoadOrder,
21}