added mod_id to InstalledMod
This commit is contained in:
@@ -152,6 +152,11 @@ impl InstalledMod {
|
|||||||
self.files.push((file.source.clone(), file.dest.clone()));
|
self.files.push((file.source.clone(), file.dest.clone()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Get the id of the mod
|
||||||
|
pub fn mod_id(&self) -> String {
|
||||||
|
self.id.clone()
|
||||||
|
}
|
||||||
|
|
||||||
/// The priority over other mods. Only used when 2 files conflict.
|
/// The priority over other mods. Only used when 2 files conflict.
|
||||||
pub fn priority(&self) -> isize {
|
pub fn priority(&self) -> isize {
|
||||||
self.priority
|
self.priority
|
||||||
|
|||||||
Reference in New Issue
Block a user