cleaned up some more

This commit is contained in:
2026-08-10 17:31:33 +02:00
parent 1e348c5abb
commit c8c2334bcc
8 changed files with 1 additions and 145 deletions

View File

@@ -14,8 +14,6 @@ public sealed class SendProxyNative : IDisposable
private readonly RemoveOverrideDelegate _removeOverride;
private readonly ClearOverridesDelegate _clearOverrides;
private readonly MarkDirtyDelegate _markDirty;
private readonly DumpSchemaDelegate _dumpSchema;
private readonly DumpEnumDelegate _dumpEnum;
public SendProxyNative(string libraryPath)
{
@@ -25,8 +23,6 @@ public sealed class SendProxyNative : IDisposable
_removeOverride = GetExport<RemoveOverrideDelegate>("SendProxy_RemoveOverride");
_clearOverrides = GetExport<ClearOverridesDelegate>("SendProxy_ClearOverrides");
_markDirty = GetExport<MarkDirtyDelegate>("SendProxy_MarkDirty");
_dumpSchema = GetExport<DumpSchemaDelegate>("SendProxy_DumpSchema");
_dumpEnum = GetExport<DumpEnumDelegate>("SendProxy_DumpEnum");
}
public static SendProxyNative FromGameDirectory(string gameDirectory)
@@ -102,16 +98,6 @@ public sealed class SendProxyNative : IDisposable
return _markDirty(entityIndex, className, fieldPath);
}
public void DumpSchema(string className, string contains)
{
_dumpSchema(className, contains);
}
public void DumpEnum(string enumName)
{
_dumpEnum(enumName);
}
public void Dispose()
{
NativeLibrary.Free(_library);
@@ -139,9 +125,4 @@ public sealed class SendProxyNative : IDisposable
[return: MarshalAs(UnmanagedType.I1)]
private delegate bool MarkDirtyDelegate(int entityIndex, string className, string fieldPath);
[UnmanagedFunctionPointer(CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
private delegate void DumpSchemaDelegate(string className, string contains);
[UnmanagedFunctionPointer(CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
private delegate void DumpEnumDelegate(string enumName);
}