mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-19 07:04:20 +01:00
Add Mare Synchronos and MUI API/IPC functions for testing. Not tested myself because how.
This commit is contained in:
parent
8422d36e4e
commit
d6d13594e0
15 changed files with 857 additions and 240 deletions
|
|
@ -35,6 +35,24 @@ public partial class ModCollection
|
|||
private void ForceCacheUpdate()
|
||||
=> CalculateEffectiveFileList();
|
||||
|
||||
// Handle temporary mods for this collection.
|
||||
public void Apply( Mod.TemporaryMod tempMod, bool created )
|
||||
{
|
||||
if( created )
|
||||
{
|
||||
_cache?.AddMod( tempMod, tempMod.TotalManipulations > 0 );
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache?.ReloadMod( tempMod, tempMod.TotalManipulations > 0 );
|
||||
}
|
||||
}
|
||||
|
||||
public void Remove( Mod.TemporaryMod tempMod )
|
||||
{
|
||||
_cache?.RemoveMod( tempMod, tempMod.TotalManipulations > 0 );
|
||||
}
|
||||
|
||||
|
||||
// Clear the current cache.
|
||||
private void ClearCache()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue