Заработала демка с новым бэком

This commit is contained in:
2025-03-08 22:31:40 +03:00
parent 4863010b47
commit 0e09b479af
5 changed files with 18 additions and 18 deletions
@@ -79,7 +79,7 @@ namespace mROA.Implementation.Backend
object?[]? castedParams = null;
if (invoker.ParameterTypes != Type.EmptyTypes)
if (invoker.ParameterTypes.Length != 0)
{
castedParams = new object[invoker.ParameterTypes.Length];
for (int i = 0; i < castedParams.Length; i++)
-1
View File
@@ -20,7 +20,6 @@ namespace mROA.Implementation
public static readonly IMethodInvoker Dispose = new MethodInvoker
{
IsVoid = true,
ReturnType = null,
Invoking = (instance, _, _) =>
{
(instance as IDisposable)?.Dispose();
@@ -6,13 +6,6 @@ namespace mROA.Implementation
#pragma warning disable CS8618, CS9264
public struct UniversalObjectIdentifier : IEquatable<UniversalObjectIdentifier>
{
private static IMethodInvoker x = new MethodInvoker
{
IsVoid = false,
ReturnType = typeof(void),
ParameterTypes = Type.EmptyTypes
};
public int ContextId;
public int OwnerId;