Extend some more IPC functions.

This commit is contained in:
Ottermandias 2022-06-04 20:46:50 +02:00
parent f0131dd5ba
commit cf79f47e08
4 changed files with 411 additions and 158 deletions

View file

@ -138,4 +138,10 @@ public partial class PathResolver : IDisposable
DisposeDataHooks();
DisposeMetaHooks();
}
public unsafe (IntPtr, ModCollection) IdentifyDrawObject( IntPtr drawObject )
{
var parent = FindParent( drawObject, out var collection );
return ( ( IntPtr )parent, collection );
}
}