Заработала демка с новым бэком
This commit is contained in:
@@ -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++)
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user