Fix stuff

This commit is contained in:
Sardelka9515
2023-02-16 18:56:56 +08:00
parent e5f426690f
commit 6e2b4aff2f
12 changed files with 44 additions and 17 deletions

View File

@ -119,5 +119,10 @@ namespace RageCoop.Client.Scripting
[LibraryImport("RageCoop.Client.dll")]
private static partial int GetLastResultLenInChars();
[LibraryImport("RageCoop.Client.dll")]
[return: MarshalAs(UnmanagedType.I1)]
public static partial bool RegisterCustomEventHandler(CustomEventHash hash, IntPtr ptrHandler);
}
}