mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-18 22:54:23 +01:00
Fix some problems with super early files and meta files.
This commit is contained in:
parent
257c0d390b
commit
57e66f9b66
8 changed files with 120 additions and 133 deletions
|
|
@ -133,67 +133,6 @@ public partial class ModCollection
|
|||
Penumbra.Log.Debug( $"[{Thread.CurrentThread.ManagedThreadId}] Recalculation of effective file list for {AnonymizedName} finished." );
|
||||
}
|
||||
|
||||
// Set Metadata files.
|
||||
public void SetEqpFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
MetaManager.ResetEqpFiles();
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetEqpFiles();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetEqdpFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
MetaManager.ResetEqdpFiles();
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetEqdpFiles();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetGmpFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
MetaManager.ResetGmpFiles();
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetGmpFiles();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetEstFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
MetaManager.ResetEstFiles();
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetEstFiles();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetCmpFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
MetaManager.ResetCmpFiles();
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetCmpFiles();
|
||||
}
|
||||
}
|
||||
|
||||
public void SetFiles()
|
||||
{
|
||||
if( _cache == null )
|
||||
|
|
@ -207,6 +146,18 @@ public partial class ModCollection
|
|||
}
|
||||
}
|
||||
|
||||
public void SetMetaFile( Interop.Structs.CharacterUtility.Index idx )
|
||||
{
|
||||
if( _cache == null )
|
||||
{
|
||||
Penumbra.CharacterUtility.ResetResource( idx );
|
||||
}
|
||||
else
|
||||
{
|
||||
_cache.MetaManipulations.SetFile( idx );
|
||||
}
|
||||
}
|
||||
|
||||
// Used for short periods of changed files.
|
||||
public CharacterUtility.List.MetaReverter? TemporarilySetEqdpFile( GenderRace genderRace, bool accessory )
|
||||
=> _cache?.MetaManipulations.TemporarilySetEqdpFile( genderRace, accessory );
|
||||
|
|
@ -222,5 +173,4 @@ public partial class ModCollection
|
|||
|
||||
public CharacterUtility.List.MetaReverter? TemporarilySetEstFile( EstManipulation.EstType type )
|
||||
=> _cache?.MetaManipulations.TemporarilySetEstFile( type );
|
||||
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue