foch 0.0.2

EU4 mod analysis and merge toolkit
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::model::GamePathBuf;
use crate::playset::PlaysetEntry;
use crate::playset::descriptor::ModDescriptor;
use crate::playset::steam::WorkshopInstallIdentity;
use std::path::PathBuf;

#[derive(Clone, Debug)]
pub struct ModCandidate {
	pub entry: PlaysetEntry,
	pub mod_id: String,
	pub root_path: Option<PathBuf>,
	pub descriptor_path: Option<PathBuf>,
	pub descriptor: Option<ModDescriptor>,
	pub workshop_identity: Option<WorkshopInstallIdentity>,
	pub descriptor_error: Option<String>,
	/// The mod's inventory, relative to `root_path`, in byte order.
	pub files: Vec<GamePathBuf>,
}