From 3ce37b4a6463c5c2c2b330dc7a97f850aaaebc31 Mon Sep 17 00:00:00 2001
From: liuxue <q3213421wrwqr>
Date: 星期一, 12 七月 2021 12:19:44 +0800
Subject: [PATCH] 0000 修改Proxy
---
Assets/ILRuntime/Src/ILLauncherProxy.cs | 94 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/Assets/ILRuntime/Src/ILLauncherProxy.cs b/Assets/ILRuntime/Src/ILLauncherProxy.cs
index 1ba12c5..cac2c06 100644
--- a/Assets/ILRuntime/Src/ILLauncherProxy.cs
+++ b/Assets/ILRuntime/Src/ILLauncherProxy.cs
@@ -154,6 +154,18 @@
appdomain.DelegateManager.RegisterMethodDelegate<System.Object>();
appdomain.DelegateManager.RegisterMethodDelegate<global::ScrollerDataType, global::CellView>();
appdomain.DelegateManager.RegisterMethodDelegate<int, LitJson.JsonData>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.UInt32, System.UInt32, global::GActorPlayerBase.PlayerInfo, global::E_ActorGroup>();
+ appdomain.DelegateManager.RegisterMethodDelegate<global::GameNetPackBasic>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.Byte>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.UInt32, UnityEngine.GameObject>();
+ appdomain.DelegateManager.RegisterMethodDelegate<ILCrossBinding.GameNetPackBasicAdapter.Adapter>();
+ appdomain.DelegateManager.RegisterMethodDelegate<global::GA_ILClientPlayer>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.UInt32, System.UInt64, System.UInt64>();
+ appdomain.DelegateManager.RegisterMethodDelegate<global::DungeonCoolDownType>();
+ appdomain.DelegateManager.RegisterMethodDelegate<global::HA9A2_tagPYBillboardData>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.UInt32, System.UInt32>();
+ appdomain.DelegateManager.RegisterMethodDelegate<System.UInt32, System.Int32>();
+
//鏈夎繑鍥炲��
appdomain.DelegateManager.RegisterFunctionDelegate<int>();
@@ -165,6 +177,8 @@
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) =>
@@ -226,6 +240,86 @@
((System.Action<string>)act)(arg0);
});
});
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.UInt32, System.UInt32, global::GActorPlayerBase.PlayerInfo, global::E_ActorGroup>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.UInt32, System.UInt32, global::GActorPlayerBase.PlayerInfo, global::E_ActorGroup>((arg0, arg1, arg2, arg3) =>
+ {
+ ((System.Action<System.UInt32, System.UInt32, global::GActorPlayerBase.PlayerInfo, global::E_ActorGroup>)act)(arg0, arg1, arg2, arg3);
+ });
+ });
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<global::GameNetPackBasic>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<global::GameNetPackBasic>((arg0) =>
+ {
+ ((System.Action<global::GameNetPackBasic>)act)(arg0);
+ });
+ });
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.Byte>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.Byte>((arg0) =>
+ {
+ ((System.Action<System.Byte>)act)(arg0);
+ });
+ });
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.UInt32, UnityEngine.GameObject>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.UInt32, UnityEngine.GameObject>((arg0, arg1) =>
+ {
+ ((System.Action<System.UInt32, UnityEngine.GameObject>)act)(arg0, arg1);
+ });
+ });
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.UInt64>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.UInt64>((arg0) =>
+ {
+ ((System.Action<System.UInt64>)act)(arg0);
+ });
+ });
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.Int32>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.Int32>((arg0) =>
+ {
+ ((System.Action<System.Int32>)act)(arg0);
+ });
+ });
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<global::GA_ILClientPlayer>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<global::GA_ILClientPlayer>((arg0) =>
+ {
+ ((System.Action<global::GA_ILClientPlayer>)act)(arg0);
+ });
+ });
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<UnityEngine.Events.UnityAction<System.UInt32, System.UInt64, System.UInt64>>((act) =>
+ {
+ return new UnityEngine.Events.UnityAction<System.UInt32, System.UInt64, System.UInt64>((arg0, arg1, arg2) =>
+ {
+ ((System.Action<System.UInt32, System.UInt64, System.UInt64>)act)(arg0, arg1, arg2);
+ });
+ });
+ appdomain.DelegateManager.RegisterDelegateConvertor<global::BuffModel.OnObjAddBuff>((act) =>
+ {
+ return new global::BuffModel.OnObjAddBuff(() =>
+ {
+ ((System.Action)act)();
+ });
+ });
+
+ appdomain.DelegateManager.RegisterDelegateConvertor<global::BuffModel.OnObjDelBuff>((act) =>
+ {
+ return new global::BuffModel.OnObjDelBuff(() =>
+ {
+ ((System.Action)act)();
+ });
+ });
+
+
+
+
}
public void LaunchStart()
--
Gitblit v1.8.0