@@ -205,7 +205,7 @@ public unsafe interface IClientLibrary
205205 public delegate* unmanaged[Cdecl]<nint, nint, byte> Core_LoadYtyp { get; }
206206 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_OverrideFocusEntity { get; }
207207 public delegate* unmanaged[Cdecl]<nint, Vector3, Vector3, void> Core_OverrideFocusPosition { get; }
208- public delegate* unmanaged[Cdecl]<nint, nint, nint, nint, uint*, nint> Core_RegisterFont { get; }
208+ public delegate* unmanaged[Cdecl]<nint, nint, nint, uint*, nint> Core_RegisterFont { get; }
209209 public delegate* unmanaged[Cdecl]<nint, nint, uint, void> Core_RemoveGXTText { get; }
210210 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_RemoveIpl { get; }
211211 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_RequestIpl { get; }
@@ -875,7 +875,7 @@ public unsafe interface IClientLibrary
875875
876876 public unsafe class ClientLibrary : IClientLibrary
877877 {
878- public readonly uint Methods = 1647 ;
878+ public readonly uint Methods = 1648 ;
879879 public delegate* unmanaged[Cdecl]<nint, nint, void> Audio_AddOutput { get; }
880880 public delegate* unmanaged[Cdecl]<nint, nint> Audio_GetBaseObject { get; }
881881 public delegate* unmanaged[Cdecl]<nint, double> Audio_GetCurrentTime { get; }
@@ -1071,7 +1071,7 @@ public unsafe class ClientLibrary : IClientLibrary
10711071 public delegate* unmanaged[Cdecl]<nint, nint, byte> Core_LoadYtyp { get; }
10721072 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_OverrideFocusEntity { get; }
10731073 public delegate* unmanaged[Cdecl]<nint, Vector3, Vector3, void> Core_OverrideFocusPosition { get; }
1074- public delegate* unmanaged[Cdecl]<nint, nint, nint, nint, uint*, nint> Core_RegisterFont { get; }
1074+ public delegate* unmanaged[Cdecl]<nint, nint, nint, uint*, nint> Core_RegisterFont { get; }
10751075 public delegate* unmanaged[Cdecl]<nint, nint, uint, void> Core_RemoveGXTText { get; }
10761076 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_RemoveIpl { get; }
10771077 public delegate* unmanaged[Cdecl]<nint, nint, void> Core_RequestIpl { get; }
@@ -2127,8 +2127,8 @@ public unsafe class ClientLibrary : IClientLibrary
21272127 private static void Core_OverrideFocusEntityFallback(nint _core, nint _entity) => throw new Exceptions.OutdatedSdkException("Core_OverrideFocusEntity", "Core_OverrideFocusEntity SDK method is outdated. Please update your module nuget");
21282128 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void Core_OverrideFocusPositionDelegate(nint _core, Vector3 _pos, Vector3 _offset);
21292129 private static void Core_OverrideFocusPositionFallback(nint _core, Vector3 _pos, Vector3 _offset) => throw new Exceptions.OutdatedSdkException("Core_OverrideFocusPosition", "Core_OverrideFocusPosition SDK method is outdated. Please update your module nuget");
2130- [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate nint Core_RegisterFontDelegate(nint _core, nint _resource, nint _path, nint _currentPath, uint* _id);
2131- private static nint Core_RegisterFontFallback(nint _core, nint _resource, nint _path, nint _currentPath, uint* _id) => throw new Exceptions.OutdatedSdkException("Core_RegisterFont", "Core_RegisterFont SDK method is outdated. Please update your module nuget");
2130+ [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate nint Core_RegisterFontDelegate(nint _core, nint _resource, nint _path, uint* _id);
2131+ private static nint Core_RegisterFontFallback(nint _core, nint _resource, nint _path, uint* _id) => throw new Exceptions.OutdatedSdkException("Core_RegisterFont", "Core_RegisterFont SDK method is outdated. Please update your module nuget");
21322132 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void Core_RemoveGXTTextDelegate(nint _core, nint _resource, uint _key);
21332133 private static void Core_RemoveGXTTextFallback(nint _core, nint _resource, uint _key) => throw new Exceptions.OutdatedSdkException("Core_RemoveGXTText", "Core_RemoveGXTText SDK method is outdated. Please update your module nuget");
21342134 [UnmanagedFunctionPointer(CallingConvention.Cdecl)] private delegate void Core_RemoveIplDelegate(nint _core, nint _path);
@@ -3468,7 +3468,7 @@ private IntPtr GetUnmanagedPtr<T>(IDictionary<ulong, IntPtr> funcTable, ulong ha
34683468 public ClientLibrary(Dictionary<ulong, IntPtr> funcTable)
34693469 {
34703470 if (!funcTable.TryGetValue(0, out var capiHash)) Outdated = true;
3471- else if (capiHash == IntPtr.Zero || *(ulong*)capiHash != 4271963963690998474UL ) Outdated = true;
3471+ else if (capiHash == IntPtr.Zero || *(ulong*)capiHash != 10156954479038056230UL ) Outdated = true;
34723472 Audio_AddOutput = (delegate* unmanaged[Cdecl]<nint, nint, void>) GetUnmanagedPtr<Audio_AddOutputDelegate>(funcTable, 9914412815391408844UL, Audio_AddOutputFallback);
34733473 Audio_GetBaseObject = (delegate* unmanaged[Cdecl]<nint, nint>) GetUnmanagedPtr<Audio_GetBaseObjectDelegate>(funcTable, 6330360502401226894UL, Audio_GetBaseObjectFallback);
34743474 Audio_GetCurrentTime = (delegate* unmanaged[Cdecl]<nint, double>) GetUnmanagedPtr<Audio_GetCurrentTimeDelegate>(funcTable, 2944324482134975819UL, Audio_GetCurrentTimeFallback);
@@ -3664,7 +3664,7 @@ public ClientLibrary(Dictionary<ulong, IntPtr> funcTable)
36643664 Core_LoadYtyp = (delegate* unmanaged[Cdecl]<nint, nint, byte>) GetUnmanagedPtr<Core_LoadYtypDelegate>(funcTable, 9006970651286241104UL, Core_LoadYtypFallback);
36653665 Core_OverrideFocusEntity = (delegate* unmanaged[Cdecl]<nint, nint, void>) GetUnmanagedPtr<Core_OverrideFocusEntityDelegate>(funcTable, 11543552066785919265UL, Core_OverrideFocusEntityFallback);
36663666 Core_OverrideFocusPosition = (delegate* unmanaged[Cdecl]<nint, Vector3, Vector3, void>) GetUnmanagedPtr<Core_OverrideFocusPositionDelegate>(funcTable, 15255809094076439747UL, Core_OverrideFocusPositionFallback);
3667- Core_RegisterFont = (delegate* unmanaged[Cdecl]<nint, nint, nint, nint, uint*, nint>) GetUnmanagedPtr<Core_RegisterFontDelegate>(funcTable, 9606250554276774505UL , Core_RegisterFontFallback);
3667+ Core_RegisterFont = (delegate* unmanaged[Cdecl]<nint, nint, nint, uint*, nint>) GetUnmanagedPtr<Core_RegisterFontDelegate>(funcTable, 84574382701044016UL , Core_RegisterFontFallback);
36683668 Core_RemoveGXTText = (delegate* unmanaged[Cdecl]<nint, nint, uint, void>) GetUnmanagedPtr<Core_RemoveGXTTextDelegate>(funcTable, 2950682702415179672UL, Core_RemoveGXTTextFallback);
36693669 Core_RemoveIpl = (delegate* unmanaged[Cdecl]<nint, nint, void>) GetUnmanagedPtr<Core_RemoveIplDelegate>(funcTable, 3186817815537256556UL, Core_RemoveIplFallback);
36703670 Core_RequestIpl = (delegate* unmanaged[Cdecl]<nint, nint, void>) GetUnmanagedPtr<Core_RequestIplDelegate>(funcTable, 6993510006268976715UL, Core_RequestIplFallback);
0 commit comments