Prepare for CoreCLR version

This commit is contained in:
Sardelka9515
2023-03-06 21:54:41 +08:00
parent 0e5271b322
commit 2451131e36
16 changed files with 155 additions and 125 deletions

View File

@ -38,7 +38,7 @@ namespace RageCoop.Core.Scripting
public CustomEventHandler(IntPtr func) : this()
{
FunctionPtr = (ulong)func;
Module = (ulong)SHVDN.Core.CurrentModule;
Directory = SHVDN.Core.CurrentDirectory;
}
[JsonIgnore]
@ -48,7 +48,7 @@ namespace RageCoop.Core.Scripting
public ulong FunctionPtr { get; private set; }
[JsonProperty]
public ulong Module { get; private set; }
public string Directory { get; private set; }
/// <summary>
///