少年修仙传客户端基础资源
lwb
2021-03-10 dabb187aa5b1cd486cd5a712a5c974704f9d2d9d
9527 增加新的委托适配
1个文件已修改
10 ■■■■ 已修改文件
Assets/ILRuntime/Src/ILLauncherProxy.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Assets/ILRuntime/Src/ILLauncherProxy.cs
@@ -14,10 +14,8 @@
    private ILRuntime.Runtime.Enviorment.AppDomain _appdomain;
    public ILRuntime.Runtime.Enviorment.AppDomain appdomain
    {
        get
        {
    public ILRuntime.Runtime.Enviorment.AppDomain appdomain {
        get {
            return _appdomain;
        }
    }
@@ -88,6 +86,7 @@
        domain.RegisterCrossBindingAdaptor(new DtcBasicAdapter());
        domain.RegisterCrossBindingAdaptor(new GameNetPackBasicAdapter());
        domain.RegisterCrossBindingAdaptor(new OperationBaseAdapter());
        domain.RegisterCrossBindingAdaptor(new IConfigPostProcessAdapter());
    }
    //注册值类型绑定
@@ -121,7 +120,7 @@
        appdomain.DelegateManager.RegisterMethodDelegate<ulong>();
        appdomain.DelegateManager.RegisterMethodDelegate<uint>();
        appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation>();
        appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation,int >();
        appdomain.DelegateManager.RegisterMethodDelegate<Snxxz.UI.Operation, int>();
        appdomain.DelegateManager.RegisterMethodDelegate<float, Vector2>();
        appdomain.DelegateManager.RegisterMethodDelegate<int, Transform>();
        appdomain.DelegateManager.RegisterMethodDelegate<Vector2>();
@@ -154,6 +153,7 @@
        appdomain.DelegateManager.RegisterMethodDelegate<DateTime>();
        appdomain.DelegateManager.RegisterMethodDelegate<System.Object>();
        appdomain.DelegateManager.RegisterMethodDelegate<global::ScrollerDataType, global::CellView>();
        appdomain.DelegateManager.RegisterMethodDelegate<int, LitJson.JsonData>();
        //有返回值
        appdomain.DelegateManager.RegisterFunctionDelegate<int>();