@@ -28,7 +28,12 @@ public static unsafe class ActorVfx
2828 /// Can be cast to a <see cref="ECommons.GameHelpers.VfxStruct" />.
2929 /// </param>
3030 /// <param name="vfxPathPtr">
31- /// Pointer to the VFX path string.<br />Call <see cref="Utf8String.ToString"/>() on it.
31+ /// Pointer to the VFX path string.<br />
32+ /// Can resolve to a string with
33+ /// <see
34+ /// cref="Dalamud.Memory.MemoryHelper.ReadString(nint, System.Text.Encoding, int)">
35+ /// MemoryHelper.ReadString((nint)vfxPathPtr, Encoding.ASCII, 256)
36+ /// </see>
3237 /// .
3338 /// </param>
3439 /// <param name="casterAddress">Address of the caster GameObject.</param>
@@ -42,7 +47,7 @@ public static unsafe class ActorVfx
4247 /// These delegates are called after that is already done (to provide
4348 /// <paramref name="vfxPtr" />).
4449 /// </remarks>
45- public delegate void ActorVfxCreateCallbackDelegate ( nint vfxPtr , Utf8String * vfxPathPtr , nint casterAddress , nint targetAddress , float a4 , byte a5 , ushort a6 , byte a7 ) ;
50+ public delegate void ActorVfxCreateCallbackDelegate ( nint vfxPtr , nint vfxPathPtr , nint casterAddress , nint targetAddress , float a4 , byte a5 , ushort a6 , byte a7 ) ;
4651
4752 /// <summary>
4853 /// The signature your method must match to subscribe to
@@ -114,7 +119,7 @@ internal static nint ActorVfxCreateDetour(nint a1, nint a2, nint a3, float a4, b
114119 try
115120 {
116121 var subscriberMethod = ( ActorVfxCreateCallbackDelegate ) subscriber ;
117- subscriberMethod ( output , ( Utf8String * ) a1 , a2 , a3 , a4 , a5 , a6 , a7 ) ;
122+ subscriberMethod ( output , a1 , a2 , a3 , a4 , a5 , a6 , a7 ) ;
118123 }
119124 catch ( Exception e )
120125 {
0 commit comments