mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Add another hook for animations in character collections.
This commit is contained in:
parent
58e46accae
commit
df1a75b58a
3 changed files with 33 additions and 1 deletions
|
|
@ -76,6 +76,9 @@ public partial class PathResolver : IDisposable
|
|||
|
||||
private bool HandleAnimationFile( ResourceType type, Utf8GamePath _, [NotNullWhen(true)] out ModCollection? collection )
|
||||
{
|
||||
if( type == ResourceType.Pap && _.Path.EndsWith( '0', '1', '0', '.', 'p', 'a', 'p' ) )
|
||||
PluginLog.Information( $"PAPPITY PAP {_}" );
|
||||
|
||||
if( _animationLoadCollection != null )
|
||||
{
|
||||
switch( type )
|
||||
|
|
@ -84,6 +87,7 @@ public partial class PathResolver : IDisposable
|
|||
case ResourceType.Pap:
|
||||
case ResourceType.Avfx:
|
||||
case ResourceType.Atex:
|
||||
case ResourceType.Scd:
|
||||
collection = _animationLoadCollection;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue