mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +01:00
Change return value of LoadTimelineResources
This commit is contained in:
parent
1b4eea4d1e
commit
8ecf7e2381
1 changed files with 3 additions and 3 deletions
|
|
@ -10,16 +10,16 @@ public unsafe partial class PathResolver
|
||||||
{
|
{
|
||||||
private ModCollection? _animationLoadCollection;
|
private ModCollection? _animationLoadCollection;
|
||||||
|
|
||||||
public delegate byte LoadTimelineResourcesDelegate( IntPtr timeline );
|
public delegate ulong LoadTimelineResourcesDelegate( IntPtr timeline );
|
||||||
|
|
||||||
// The timeline object loads the requested .tmb and .pap files. The .tmb files load the respective .avfx files.
|
// The timeline object loads the requested .tmb and .pap files. The .tmb files load the respective .avfx files.
|
||||||
// We can obtain the associated game object from the timelines 28'th vfunc and use that to apply the correct collection.
|
// We can obtain the associated game object from the timelines 28'th vfunc and use that to apply the correct collection.
|
||||||
[Signature( "E8 ?? ?? ?? ?? 83 7F ?? ?? 75 ?? 0F B6 87", DetourName = nameof( LoadTimelineResourcesDetour ) )]
|
[Signature( "E8 ?? ?? ?? ?? 83 7F ?? ?? 75 ?? 0F B6 87", DetourName = nameof( LoadTimelineResourcesDetour ) )]
|
||||||
public Hook< LoadTimelineResourcesDelegate >? LoadTimelineResourcesHook;
|
public Hook< LoadTimelineResourcesDelegate >? LoadTimelineResourcesHook;
|
||||||
|
|
||||||
private byte LoadTimelineResourcesDetour( IntPtr timeline )
|
private ulong LoadTimelineResourcesDetour( IntPtr timeline )
|
||||||
{
|
{
|
||||||
byte ret;
|
ulong ret;
|
||||||
var old = _animationLoadCollection;
|
var old = _animationLoadCollection;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue