コード例 #1
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ETModel.Hotfix);

            args   = new Type[] {};
            method = type.GetMethod("GetHotfixTypes", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetHotfixTypes_0);

            field = type.GetField("Update", flag);
            app.RegisterCLRFieldGetter(field, get_Update_0);
            app.RegisterCLRFieldSetter(field, set_Update_0);
            field = type.GetField("LateUpdate", flag);
            app.RegisterCLRFieldGetter(field, get_LateUpdate_1);
            app.RegisterCLRFieldSetter(field, set_LateUpdate_1);
            field = type.GetField("OnApplicationQuit", flag);
            app.RegisterCLRFieldGetter(field, get_OnApplicationQuit_2);
            app.RegisterCLRFieldSetter(field, set_OnApplicationQuit_2);
        }
コード例 #2
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::TencentIMSDKMessage);

            field = type.GetField("sender", flag);
            app.RegisterCLRFieldGetter(field, get_sender_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_sender_0, null);
            field = type.GetField("nickName", flag);
            app.RegisterCLRFieldGetter(field, get_nickName_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_nickName_1, null);
            field = type.GetField("senderDetail", flag);
            app.RegisterCLRFieldGetter(field, get_senderDetail_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_senderDetail_2, null);
            field = type.GetField("text", flag);
            app.RegisterCLRFieldGetter(field, get_text_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_text_3, null);

            app.RegisterCLRCreateDefaultInstance(type, () => new global::TencentIMSDKMessage());
        }
コード例 #3
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(UnityEngine.Vector3);

            args   = new Type[] {};
            method = type.GetMethod("get_zero", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_zero_0);
            args   = new Type[] { typeof(UnityEngine.Vector3) };
            method = type.GetMethod("Equals", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Equals_1);
            args   = new Type[] { typeof(UnityEngine.Vector3), typeof(UnityEngine.Vector3), typeof(System.Single) };
            method = type.GetMethod("Lerp", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Lerp_2);

            field = type.GetField("x", flag);
            app.RegisterCLRFieldGetter(field, get_x_0);
            app.RegisterCLRFieldSetter(field, set_x_0);
            field = type.GetField("y", flag);
            app.RegisterCLRFieldGetter(field, get_y_1);
            app.RegisterCLRFieldSetter(field, set_y_1);
            field = type.GetField("z", flag);
            app.RegisterCLRFieldGetter(field, get_z_2);
            app.RegisterCLRFieldSetter(field, set_z_2);

            app.RegisterCLRMemberwiseClone(type, PerformMemberwiseClone);

            app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.Vector3());

            args   = new Type[] { typeof(System.Single), typeof(System.Single) };
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #4
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(UnityEngine.Vector2);

            args   = new Type[] { typeof(UnityEngine.Vector2), typeof(UnityEngine.Vector2) };
            method = type.GetMethod("Distance", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Distance_0);
            args   = new Type[] { typeof(UnityEngine.Vector2), typeof(UnityEngine.Vector2) };
            method = type.GetMethod("op_Subtraction", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, op_Subtraction_1);
            args   = new Type[] {};
            method = type.GetMethod("get_normalized", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_normalized_2);
            args   = new Type[] { typeof(UnityEngine.Vector2), typeof(UnityEngine.Vector2) };
            method = type.GetMethod("Dot", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Dot_3);

            field = type.GetField("x", flag);
            app.RegisterCLRFieldGetter(field, get_x_0);
            app.RegisterCLRFieldSetter(field, set_x_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_x_0, AssignFromStack_x_0);
            field = type.GetField("y", flag);
            app.RegisterCLRFieldGetter(field, get_y_1);
            app.RegisterCLRFieldSetter(field, set_y_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_y_1, AssignFromStack_y_1);

            app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.Vector2());

            args   = new Type[] { typeof(System.Single), typeof(System.Single) };
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #5
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ILRuntimeTest.TestFramework.TestVector3NoBinding);

            args   = new Type[] {};
            method = type.GetMethod("get_zero", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_zero_0);
            args   = new Type[] {};
            method = type.GetMethod("get_one", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_one_1);

            field = type.GetField("x", flag);
            app.RegisterCLRFieldGetter(field, get_x_0);
            app.RegisterCLRFieldSetter(field, set_x_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_x_0, AssignFromStack_x_0);
            field = type.GetField("y", flag);
            app.RegisterCLRFieldGetter(field, get_y_1);
            app.RegisterCLRFieldSetter(field, set_y_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_y_1, AssignFromStack_y_1);
            field = type.GetField("z", flag);
            app.RegisterCLRFieldGetter(field, get_z_2);
            app.RegisterCLRFieldSetter(field, set_z_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_z_2, AssignFromStack_z_2);

            app.RegisterCLRMemberwiseClone(type, PerformMemberwiseClone);

            app.RegisterCLRCreateDefaultInstance(type, () => new ILRuntimeTest.TestFramework.TestVector3NoBinding());

            args   = new Type[] { typeof(System.Single), typeof(System.Single), typeof(System.Single) };
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #6
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(wxb.hotMgr);

            args   = new Type[] { typeof(System.Text.StringBuilder), typeof(System.String), typeof(System.Object[]) };
            method = type.GetMethod("AppendFormatLine", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, AppendFormatLine_0);
            args   = new Type[] {};
            method = type.GetMethod("get_appdomain", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_appdomain_1);
            args   = new Type[] {};
            method = type.GetMethod("get_RefType", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_RefType_2);
            args   = new Type[] {};
            method = type.GetMethod("get_AllTypes", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_AllTypes_3);
            args   = new Type[] {};
            method = type.GetMethod("Init", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Init_4);
            args   = new Type[] {};
            method = type.GetMethod("InitHotModule", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, InitHotModule_5);
            args   = new Type[] { typeof(ILRuntime.Runtime.Enviorment.AppDomain) };
            method = type.GetMethod("RegDelegate", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, RegDelegate_6);
            args   = new Type[] { typeof(System.Type), typeof(System.String), typeof(System.Reflection.MethodInfo) };
            method = type.GetMethod("ReplaceField", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ReplaceField_7);
            args   = new Type[] { typeof(System.Reflection.MethodInfo) };
            method = type.GetMethod("IsStatic", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, IsStatic_8);
            args   = new Type[] { typeof(System.Type), typeof(System.String), typeof(System.Reflection.MethodInfo) };
            method = type.GetMethod("ReplaceFunc", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ReplaceFunc_9);
            args   = new Type[] { typeof(System.Type), typeof(System.Action <System.Type>) };
            method = type.GetMethod("FindAttribute", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, FindAttribute_10);
            args   = new Type[] {};
            method = type.GetMethod("ReleaseAll", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ReleaseAll_11);

            field = type.GetField("bindingFlags", flag);
            app.RegisterCLRFieldGetter(field, get_bindingFlags_0);
        }
コード例 #7
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(FlatBuffers.StringOffset);

            field = type.GetField("Value", flag);
            app.RegisterCLRFieldGetter(field, get_Value_0);
            app.RegisterCLRFieldSetter(field, set_Value_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_Value_0, AssignFromStack_Value_0);

            app.RegisterCLRCreateDefaultInstance(type, () => new FlatBuffers.StringOffset());
        }
コード例 #8
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ET.CodeLoader);

            args   = new Type[] {};
            method = type.GetMethod("LoadLogic", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, LoadLogic_0);
            args   = new Type[] {};
            method = type.GetMethod("GetHotfixTypes", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetHotfixTypes_1);
            args   = new Type[] {};
            method = type.GetMethod("ReStart", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ReStart_2);

            field = type.GetField("Instance", flag);
            app.RegisterCLRFieldGetter(field, get_Instance_0);
            app.RegisterCLRFieldSetter(field, set_Instance_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_Instance_0, AssignFromStack_Instance_0);
            field = type.GetField("Update", flag);
            app.RegisterCLRFieldGetter(field, get_Update_1);
            app.RegisterCLRFieldSetter(field, set_Update_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_Update_1, AssignFromStack_Update_1);
            field = type.GetField("LateUpdate", flag);
            app.RegisterCLRFieldGetter(field, get_LateUpdate_2);
            app.RegisterCLRFieldSetter(field, set_LateUpdate_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_LateUpdate_2, AssignFromStack_LateUpdate_2);
            field = type.GetField("OnApplicationQuit", flag);
            app.RegisterCLRFieldGetter(field, get_OnApplicationQuit_3);
            app.RegisterCLRFieldSetter(field, set_OnApplicationQuit_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_OnApplicationQuit_3, AssignFromStack_OnApplicationQuit_3);
        }
コード例 #9
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::DynamicMonoILR);

            field = type.GetField("StringParamList", flag);
            app.RegisterCLRFieldGetter(field, get_StringParamList_0);
            app.RegisterCLRFieldSetter(field, set_StringParamList_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_StringParamList_0, AssignFromStack_StringParamList_0);
            field = type.GetField("BoolParamList", flag);
            app.RegisterCLRFieldGetter(field, get_BoolParamList_1);
            app.RegisterCLRFieldSetter(field, set_BoolParamList_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_BoolParamList_1, AssignFromStack_BoolParamList_1);
            field = type.GetField("ObjectParamList", flag);
            app.RegisterCLRFieldGetter(field, get_ObjectParamList_2);
            app.RegisterCLRFieldSetter(field, set_ObjectParamList_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_ObjectParamList_2, AssignFromStack_ObjectParamList_2);
            field = type.GetField("_ilrObject", flag);
            app.RegisterCLRFieldGetter(field, get__ilrObject_3);
            app.RegisterCLRFieldSetter(field, set__ilrObject_3);
            app.RegisterCLRFieldBinding(field, CopyToStack__ilrObject_3, AssignFromStack__ilrObject_3);
            field = type.GetField("IntParamList", flag);
            app.RegisterCLRFieldGetter(field, get_IntParamList_4);
            app.RegisterCLRFieldSetter(field, set_IntParamList_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_IntParamList_4, AssignFromStack_IntParamList_4);
            field = type.GetField("FloatParamList", flag);
            app.RegisterCLRFieldGetter(field, get_FloatParamList_5);
            app.RegisterCLRFieldSetter(field, set_FloatParamList_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_FloatParamList_5, AssignFromStack_FloatParamList_5);
            field = type.GetField("hotfixClassPath", flag);
            app.RegisterCLRFieldGetter(field, get_hotfixClassPath_6);
            app.RegisterCLRFieldSetter(field, set_hotfixClassPath_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_hotfixClassPath_6, AssignFromStack_hotfixClassPath_6);
            field = type.GetField("Vector3ParamList", flag);
            app.RegisterCLRFieldGetter(field, get_Vector3ParamList_7);
            app.RegisterCLRFieldSetter(field, set_Vector3ParamList_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_Vector3ParamList_7, AssignFromStack_Vector3ParamList_7);

            args   = new Type[] {};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #10
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::UICamera);

            args   = new Type[] {};
            method = type.GetMethod("get_lastEventPosition", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_lastEventPosition_0);
            args   = new Type[] {};
            method = type.GetMethod("get_mainCamera", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_mainCamera_1);
            args   = new Type[] {};
            method = type.GetMethod("get_currentScheme", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_currentScheme_2);
            args   = new Type[] { typeof(global::UICamera.ControlScheme) };
            method = type.GetMethod("set_currentScheme", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_currentScheme_3);
            args   = new Type[] { typeof(global::UICamera.MouseOrTouch) };
            method = type.GetMethod("Raycast", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Raycast_4);
            args   = new Type[] {};
            method = type.GetMethod("ProcessTouches", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ProcessTouches_5);
            args   = new Type[] {};
            method = type.GetMethod("ProcessMouse", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ProcessMouse_6);

            field = type.GetField("currentCamera", flag);
            app.RegisterCLRFieldGetter(field, get_currentCamera_0);
            app.RegisterCLRFieldSetter(field, set_currentCamera_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_currentCamera_0, AssignFromStack_currentCamera_0);
            field = type.GetField("lastWorldPosition", flag);
            app.RegisterCLRFieldGetter(field, get_lastWorldPosition_1);
            app.RegisterCLRFieldSetter(field, set_lastWorldPosition_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_lastWorldPosition_1, AssignFromStack_lastWorldPosition_1);
            field = type.GetField("onDrag", flag);
            app.RegisterCLRFieldGetter(field, get_onDrag_2);
            app.RegisterCLRFieldSetter(field, set_onDrag_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_onDrag_2, AssignFromStack_onDrag_2);
            field = type.GetField("fallThrough", flag);
            app.RegisterCLRFieldGetter(field, get_fallThrough_3);
            app.RegisterCLRFieldSetter(field, set_fallThrough_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_fallThrough_3, AssignFromStack_fallThrough_3);
            field = type.GetField("useTouch", flag);
            app.RegisterCLRFieldGetter(field, get_useTouch_4);
            app.RegisterCLRFieldSetter(field, set_useTouch_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_useTouch_4, AssignFromStack_useTouch_4);
            field = type.GetField("useMouse", flag);
            app.RegisterCLRFieldGetter(field, get_useMouse_5);
            app.RegisterCLRFieldSetter(field, set_useMouse_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_useMouse_5, AssignFromStack_useMouse_5);
        }
コード例 #11
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::UIServerRequest.ServerParameter);

            field = type.GetField("parameter", flag);
            app.RegisterCLRFieldGetter(field, get_parameter_0);
            app.RegisterCLRFieldSetter(field, set_parameter_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_parameter_0, AssignFromStack_parameter_0);
            field = type.GetField("name", flag);
            app.RegisterCLRFieldGetter(field, get_name_1);
            app.RegisterCLRFieldSetter(field, set_name_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_name_1, AssignFromStack_name_1);

            app.RegisterCLRCreateArrayInstance(type, s => new global::UIServerRequest.ServerParameter[s]);

            args   = new Type[] {};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #12
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(EB.Sparx.RoleData);

            field = type.GetField("code", flag);
            app.RegisterCLRFieldGetter(field, get_code_0);
            app.RegisterCLRFieldSetter(field, set_code_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_code_0, AssignFromStack_code_0);
            field = type.GetField("roleGid", flag);
            app.RegisterCLRFieldGetter(field, get_roleGid_1);
            app.RegisterCLRFieldSetter(field, set_roleGid_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_roleGid_1, AssignFromStack_roleGid_1);
            field = type.GetField("roleId", flag);
            app.RegisterCLRFieldGetter(field, get_roleId_2);
            app.RegisterCLRFieldSetter(field, set_roleId_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_roleId_2, AssignFromStack_roleId_2);
            field = type.GetField("roleName", flag);
            app.RegisterCLRFieldGetter(field, get_roleName_3);
            app.RegisterCLRFieldSetter(field, set_roleName_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_roleName_3, AssignFromStack_roleName_3);
            field = type.GetField("roleLevel", flag);
            app.RegisterCLRFieldGetter(field, get_roleLevel_4);
            app.RegisterCLRFieldSetter(field, set_roleLevel_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_roleLevel_4, AssignFromStack_roleLevel_4);
            field = type.GetField("serverId", flag);
            app.RegisterCLRFieldGetter(field, get_serverId_5);
            app.RegisterCLRFieldSetter(field, set_serverId_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_serverId_5, AssignFromStack_serverId_5);
            field = type.GetField("serverName", flag);
            app.RegisterCLRFieldGetter(field, get_serverName_6);
            app.RegisterCLRFieldSetter(field, set_serverName_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_serverName_6, AssignFromStack_serverName_6);
            field = type.GetField("coinNum", flag);
            app.RegisterCLRFieldGetter(field, get_coinNum_7);
            app.RegisterCLRFieldSetter(field, set_coinNum_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_coinNum_7, AssignFromStack_coinNum_7);

            args   = new Type[] {};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #13
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(UnityEngine.Vector2);

            MethodInfo[] methods = type.GetMethods(flag).Where(t => !t.IsGenericMethod).ToArray();
            args   = new Type[] { typeof(UnityEngine.Vector2) };
            method = methods.Where(t => t.Name.Equals("op_Implicit") && t.ReturnType == typeof(UnityEngine.Vector3) && t.CheckMethodParams(args)).Single();
            app.RegisterCLRMethodRedirection(method, op_Implicit_0);
            args   = new Type[] { typeof(UnityEngine.Vector2), typeof(System.Single) };
            method = type.GetMethod("op_Division", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, op_Division_1);
            args   = new Type[] {};
            method = type.GetMethod("get_zero", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_zero_2);
            args   = new Type[] { typeof(UnityEngine.Vector3) };
            method = methods.Where(t => t.Name.Equals("op_Implicit") && t.ReturnType == typeof(UnityEngine.Vector2) && t.CheckMethodParams(args)).Single();
            app.RegisterCLRMethodRedirection(method, op_Implicit_3);

            field = type.GetField("y", flag);
            app.RegisterCLRFieldGetter(field, get_y_0);
            app.RegisterCLRFieldSetter(field, set_y_0);
            field = type.GetField("x", flag);
            app.RegisterCLRFieldGetter(field, get_x_1);
            app.RegisterCLRFieldSetter(field, set_x_1);

            app.RegisterCLRCreateDefaultInstance(type, () => new UnityEngine.Vector2());

            args   = new Type[] { typeof(System.Single), typeof(System.Single) };
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #14
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(TMPro.TMP_Vertex);

            field = type.GetField("position", flag);
            app.RegisterCLRFieldGetter(field, get_position_0);
            app.RegisterCLRFieldSetter(field, set_position_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_position_0, AssignFromStack_position_0);

            app.RegisterCLRCreateDefaultInstance(type, () => new TMPro.TMP_Vertex());
        }
コード例 #15
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::TweenScale);

            args   = new Type[] { typeof(UnityEngine.GameObject), typeof(System.Single), typeof(UnityEngine.Vector3) };
            method = type.GetMethod("Begin", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Begin_0);

            field = type.GetField("from", flag);
            app.RegisterCLRFieldGetter(field, get_from_0);
            app.RegisterCLRFieldSetter(field, set_from_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_from_0, AssignFromStack_from_0);
            field = type.GetField("to", flag);
            app.RegisterCLRFieldGetter(field, get_to_1);
            app.RegisterCLRFieldSetter(field, set_to_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_to_1, AssignFromStack_to_1);

            app.RegisterCLRCreateArrayInstance(type, s => new global::TweenScale[s]);
        }
コード例 #16
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ETModel.UILoadingComponent.View);

            field = type.GetField("text_txtCenter1", flag);
            app.RegisterCLRFieldGetter(field, get_text_txtCenter1_0);
            app.RegisterCLRFieldSetter(field, set_text_txtCenter1_0);
            field = type.GetField("text_txtCenter", flag);
            app.RegisterCLRFieldGetter(field, get_text_txtCenter_1);
            app.RegisterCLRFieldSetter(field, set_text_txtCenter_1);
            field = type.GetField("text_txtRight", flag);
            app.RegisterCLRFieldGetter(field, get_text_txtRight_2);
            app.RegisterCLRFieldSetter(field, set_text_txtRight_2);
            field = type.GetField("text_txtLeft", flag);
            app.RegisterCLRFieldGetter(field, get_text_txtLeft_3);
            app.RegisterCLRFieldSetter(field, set_text_txtLeft_3);
            field = type.GetField("image_ProgressForward_3", flag);
            app.RegisterCLRFieldGetter(field, get_image_ProgressForward_3_4);
            app.RegisterCLRFieldSetter(field, set_image_ProgressForward_3_4);
        }
コード例 #17
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(System.ValueTuple <System.String, ILRuntime.Runtime.Intepreter.ILTypeInstance>);

            field = type.GetField("Item1", flag);
            app.RegisterCLRFieldGetter(field, get_Item1_0);
            app.RegisterCLRFieldSetter(field, set_Item1_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_Item1_0, AssignFromStack_Item1_0);
            field = type.GetField("Item2", flag);
            app.RegisterCLRFieldGetter(field, get_Item2_1);
            app.RegisterCLRFieldSetter(field, set_Item2_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_Item2_1, AssignFromStack_Item2_1);

            app.RegisterCLRCreateDefaultInstance(type, () => new System.ValueTuple <System.String, ILRuntime.Runtime.Intepreter.ILTypeInstance>());

            args   = new Type[] { typeof(System.String), typeof(ILRuntime.Runtime.Intepreter.ILTypeInstance) };
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #18
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ETModel.BundleDownSchedule);

            args   = new Type[] {};
            method = type.GetMethod("get_Progress", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Progress_0);

            field = type.GetField("pFinishAndDisposeCall", flag);
            app.RegisterCLRFieldGetter(field, get_pFinishAndDisposeCall_0);
            app.RegisterCLRFieldSetter(field, set_pFinishAndDisposeCall_0);
            field = type.GetField("pLoserCall", flag);
            app.RegisterCLRFieldGetter(field, get_pLoserCall_1);
            app.RegisterCLRFieldSetter(field, set_pLoserCall_1);

            args   = new Type[] {};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #19
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ETModel.Frame_ClickMap);

            args   = new Type[] {};
            method = type.GetMethod("get_Id", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Id_0);

            field = type.GetField("X", flag);
            app.RegisterCLRFieldGetter(field, get_X_0);
            app.RegisterCLRFieldSetter(field, set_X_0);
            field = type.GetField("Z", flag);
            app.RegisterCLRFieldGetter(field, get_Z_1);
            app.RegisterCLRFieldSetter(field, set_Z_1);

            args   = new Type[] {};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);
        }
コード例 #20
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(JEngine.UI.EventTriggerListener);

            args   = new Type[] { typeof(UnityEngine.GameObject) };
            method = type.GetMethod("Get", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Get_0);

            field = type.GetField("onClick", flag);
            app.RegisterCLRFieldGetter(field, get_onClick_0);
            app.RegisterCLRFieldSetter(field, set_onClick_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_onClick_0, AssignFromStack_onClick_0);
            field = type.GetField("onDoubleClick", flag);
            app.RegisterCLRFieldGetter(field, get_onDoubleClick_1);
            app.RegisterCLRFieldSetter(field, set_onDoubleClick_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_onDoubleClick_1, AssignFromStack_onDoubleClick_1);
            field = type.GetField("onPress", flag);
            app.RegisterCLRFieldGetter(field, get_onPress_2);
            app.RegisterCLRFieldSetter(field, set_onPress_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_onPress_2, AssignFromStack_onPress_2);
            field = type.GetField("onUp", flag);
            app.RegisterCLRFieldGetter(field, get_onUp_3);
            app.RegisterCLRFieldSetter(field, set_onUp_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_onUp_3, AssignFromStack_onUp_3);
            field = type.GetField("onBeginDrag", flag);
            app.RegisterCLRFieldGetter(field, get_onBeginDrag_4);
            app.RegisterCLRFieldSetter(field, set_onBeginDrag_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_onBeginDrag_4, AssignFromStack_onBeginDrag_4);
            field = type.GetField("onDrag", flag);
            app.RegisterCLRFieldGetter(field, get_onDrag_5);
            app.RegisterCLRFieldSetter(field, set_onDrag_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_onDrag_5, AssignFromStack_onDrag_5);
            field = type.GetField("onEndDrag", flag);
            app.RegisterCLRFieldGetter(field, get_onEndDrag_6);
            app.RegisterCLRFieldSetter(field, set_onEndDrag_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_onEndDrag_6, AssignFromStack_onEndDrag_6);
            field = type.GetField("onScroll", flag);
            app.RegisterCLRFieldGetter(field, get_onScroll_7);
            app.RegisterCLRFieldSetter(field, set_onScroll_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_onScroll_7, AssignFromStack_onScroll_7);
        }
コード例 #21
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(System.String);

            args   = new Type[] { typeof(System.String), typeof(System.String) };
            method = type.GetMethod("Replace", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Replace_0);
            args   = new Type[] { typeof(System.String), typeof(System.Object) };
            method = type.GetMethod("Format", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Format_1);
            args   = new Type[] { typeof(System.Object), typeof(System.Object) };
            method = type.GetMethod("Concat", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Concat_2);
            args   = new Type[] { typeof(System.String), typeof(System.Object), typeof(System.Object) };
            method = type.GetMethod("Format", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Format_3);
            args   = new Type[] { typeof(System.String), typeof(System.String) };
            method = type.GetMethod("Concat", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Concat_4);
            args   = new Type[] { typeof(System.String) };
            method = type.GetMethod("IsNullOrEmpty", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, IsNullOrEmpty_5);
            args   = new Type[] { typeof(System.Char[]) };
            method = type.GetMethod("Split", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Split_6);
            args   = new Type[] {};
            method = type.GetMethod("Trim", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Trim_7);
            args   = new Type[] { typeof(System.String) };
            method = type.GetMethod("Equals", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Equals_8);
            args   = new Type[] { typeof(System.String), typeof(System.String), typeof(System.String) };
            method = type.GetMethod("Concat", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Concat_9);
            args   = new Type[] { typeof(System.String), typeof(System.Object[]) };
            method = type.GetMethod("Format", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Format_10);

            field = type.GetField("Empty", flag);
            app.RegisterCLRFieldGetter(field, get_Empty_0);

            app.RegisterCLRCreateArrayInstance(type, s => new System.String[s]);
        }
コード例 #22
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(UnityGameFrame.Runtime.ShowEntitySuccessEventArgs);

            args   = new Type[] {};
            method = type.GetMethod("get_UserData", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_UserData_0);

            field = type.GetField("EventId", flag);
            app.RegisterCLRFieldGetter(field, get_EventId_0);
        }
コード例 #23
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(System.String);

            args   = new Type[] { typeof(System.String) };
            method = type.GetMethod("IsNullOrEmpty", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, IsNullOrEmpty_0);

            field = type.GetField("Empty", flag);
            app.RegisterCLRFieldGetter(field, get_Empty_0);
        }
コード例 #24
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(MotionGame.ILRManager);

            args   = new Type[] {};
            method = type.GetMethod("get_HotfixAssemblyTypes", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_HotfixAssemblyTypes_0);

            field = type.GetField("Instance", flag);
            app.RegisterCLRFieldGetter(field, get_Instance_0);
        }
コード例 #25
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(global::RoleOperation_DeleteRoleProto);

            field = type.GetField("RoleId", flag);
            app.RegisterCLRFieldGetter(field, get_RoleId_0);
            app.RegisterCLRFieldSetter(field, set_RoleId_0);

            app.RegisterCLRMemberwiseClone(type, PerformMemberwiseClone);

            app.RegisterCLRCreateDefaultInstance(type, () => new global::RoleOperation_DeleteRoleProto());
        }
コード例 #26
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(QFramework.AudioKit);

            args   = new Type[] { typeof(System.String), typeof(System.Boolean), typeof(System.Action <QFramework.AudioPlayer>), typeof(System.Int32) };
            method = type.GetMethod("PlaySound", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, PlaySound_0);

            field = type.GetField("Settings", flag);
            app.RegisterCLRFieldGetter(field, get_Settings_0);
        }
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(Google.Protobuf.Collections.RepeatedField <ETModel.TankFrameInfo>);

            args   = new Type[] {};
            method = type.GetMethod("GetEnumerator", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetEnumerator_0);

            field = type.GetField("array", flag);
            app.RegisterCLRFieldGetter(field, get_array_0);
            app.RegisterCLRFieldSetter(field, set_array_0);
        }
コード例 #28
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(UnityEngine.UI.UIRoot);

            args   = new Type[] {};
            method = type.GetMethod("get_Instance", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Instance_0);

            field = type.GetField("DynamicRoot", flag);
            app.RegisterCLRFieldGetter(field, get_DynamicRoot_0);
            app.RegisterCLRFieldSetter(field, set_DynamicRoot_0);
        }
コード例 #29
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(Omnana.MessageAggregator <System.String>);

            args   = new Type[] { typeof(System.String), typeof(Omnana.MessageHandler <System.String>) };
            method = type.GetMethod("Subscribe", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Subscribe_0);

            field = type.GetField("Instance", flag);
            app.RegisterCLRFieldGetter(field, get_Instance_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_Instance_0, null);
        }
コード例 #30
0
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase   method;
            FieldInfo    field;

            Type[] args;
            Type   type = typeof(ETModel.GizmosDebug);

            args   = new Type[] {};
            method = type.GetMethod("get_Instance", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Instance_0);

            field = type.GetField("Path", flag);
            app.RegisterCLRFieldGetter(field, get_Path_0);
            app.RegisterCLRFieldSetter(field, set_Path_0);
        }