From 2aca662b2acd337d378a72ec4bce938d19fedbc2 Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期三, 24 二月 2021 16:30:56 +0800
Subject: [PATCH] 9527 ilruntime

---
 Assets/ILRuntime/Src/ILLauncherProxy.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Assets/ILRuntime/Src/ILLauncherProxy.cs b/Assets/ILRuntime/Src/ILLauncherProxy.cs
index 01121f6..0299f74 100644
--- a/Assets/ILRuntime/Src/ILLauncherProxy.cs
+++ b/Assets/ILRuntime/Src/ILLauncherProxy.cs
@@ -162,6 +162,7 @@
         appdomain.DelegateManager.RegisterFunctionDelegate<double>();
         appdomain.DelegateManager.RegisterFunctionDelegate<int, bool>();
         appdomain.DelegateManager.RegisterFunctionDelegate<System.Int32, System.Int32, System.Int32>();
+        appdomain.DelegateManager.RegisterFunctionDelegate<ILRuntime.Runtime.Intepreter.ILTypeInstance, ILRuntime.Runtime.Intepreter.ILTypeInstance, System.Int32>();
 
         //鑷畾涔夊鎵樿浆鎹�
         appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction>((action) =>
@@ -192,6 +193,14 @@
                 ((Action<global::ScrollerDataType, global::CellView>)act)(type, cell);
             });
         });
+        appdomain.DelegateManager.RegisterDelegateConvertor<System.Comparison<ILRuntime.Runtime.Intepreter.ILTypeInstance>>((act) =>
+        {
+            return new System.Comparison<ILRuntime.Runtime.Intepreter.ILTypeInstance>((x, y) =>
+            {
+                return ((Func<ILRuntime.Runtime.Intepreter.ILTypeInstance, ILRuntime.Runtime.Intepreter.ILTypeInstance, System.Int32>)act)(x, y);
+            });
+        });
+
     }
 
     public void LaunchStart()

--
Gitblit v1.8.0