示例#1
0
        static int _g_get_FormCamera(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);
                translator.Push(L, __cl_gen_to_be_invoked.FormCamera);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(1);
        }
示例#2
0
        static int _s_set_OnFormSortedHandler(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);

                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);
                __cl_gen_to_be_invoked.OnFormSortedHandler = translator.GetDelegate <JW.Framework.UGUI.UGUIRoot.OnFormSortedDelegate>(L, 2);
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(0);
        }
示例#3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    JW.Framework.UGUI.UGUIRoot __cl_gen_ret = new JW.Framework.UGUI.UGUIRoot();
                    translator.Push(L, __cl_gen_ret);

                    return(1);
                }
            }
            catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.UGUI.UGUIRoot constructor!"));
        }
示例#4
0
        static int _m_CloseAllForm(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 3 && translator.Assignable <string[]>(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
                {
                    string[] exceptFormNames  = (string[])translator.GetObject(L, 2, typeof(string[]));
                    bool     closeImmediately = LuaAPI.lua_toboolean(L, 3);

                    __cl_gen_to_be_invoked.CloseAllForm(exceptFormNames, closeImmediately);



                    return(0);
                }
                if (__gen_param_count == 2 && translator.Assignable <string[]>(L, 2))
                {
                    string[] exceptFormNames = (string[])translator.GetObject(L, 2, typeof(string[]));

                    __cl_gen_to_be_invoked.CloseAllForm(exceptFormNames);



                    return(0);
                }
                if (__gen_param_count == 1)
                {
                    __cl_gen_to_be_invoked.CloseAllForm(  );



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.UGUI.UGUIRoot.CloseAllForm!"));
        }
        static int _m_GetUGUIRoot_xlua_st_(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);



                {
                    JW.Framework.UGUI.UGUIRoot __cl_gen_ret = JW.Lua.LuaInteraction.GetUGUIRoot(  );
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#6
0
        static int _m_EnableInput(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);



                {
                    __cl_gen_to_be_invoked.EnableInput(  );



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#7
0
        static int _m_OpenForm(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 3 && translator.Assignable <JW.Framework.UGUI.UIForm>(L, 2) && LuaTypes.LUA_TBOOLEAN == LuaAPI.lua_type(L, 3))
                {
                    JW.Framework.UGUI.UIForm formCpt = (JW.Framework.UGUI.UIForm)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIForm));
                    bool useCamera = LuaAPI.lua_toboolean(L, 3);

                    JW.Framework.UGUI.UIForm __cl_gen_ret = __cl_gen_to_be_invoked.OpenForm(formCpt, useCamera);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 2 && translator.Assignable <JW.Framework.UGUI.UIForm>(L, 2))
                {
                    JW.Framework.UGUI.UIForm formCpt = (JW.Framework.UGUI.UIForm)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIForm));

                    JW.Framework.UGUI.UIForm __cl_gen_ret = __cl_gen_to_be_invoked.OpenForm(formCpt);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.UGUI.UGUIRoot.OpenForm!"));
        }
示例#8
0
        static int _m_Initialize(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);



                {
                    bool __cl_gen_ret = __cl_gen_to_be_invoked.Initialize(  );
                    LuaAPI.lua_pushboolean(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#9
0
        static int _m_GetForms(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);



                {
                    JW.Common.JWObjList <JW.Framework.UGUI.UIForm> __cl_gen_ret = __cl_gen_to_be_invoked.GetForms(  );
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#10
0
        static int _m_GetForm(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    int formSequence = LuaAPI.xlua_tointeger(L, 2);

                    JW.Framework.UGUI.UIForm __cl_gen_ret = __cl_gen_to_be_invoked.GetForm(formSequence);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
                if (__gen_param_count == 2 && (LuaAPI.lua_isnil(L, 2) || LuaAPI.lua_type(L, 2) == LuaTypes.LUA_TSTRING))
                {
                    string formPath = LuaAPI.lua_tostring(L, 2);

                    JW.Framework.UGUI.UIForm __cl_gen_ret = __cl_gen_to_be_invoked.GetForm(formPath);
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.UGUI.UGUIRoot.GetForm!"));
        }
示例#11
0
        static int _m_GetEventSystem(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);



                {
                    UnityEngine.EventSystems.EventSystem __cl_gen_ret = __cl_gen_to_be_invoked.GetEventSystem(  );
                    translator.Push(L, __cl_gen_ret);



                    return(1);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#12
0
        static int _m_CloseGroupForm(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);



                {
                    int group = LuaAPI.xlua_tointeger(L, 2);

                    __cl_gen_to_be_invoked.CloseGroupForm(group);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }
        }
示例#13
0
        static int _m_CloseForm(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1);


                int __gen_param_count = LuaAPI.lua_gettop(L);

                if (__gen_param_count == 2 && LuaTypes.LUA_TNUMBER == LuaAPI.lua_type(L, 2))
                {
                    int formSequence = LuaAPI.xlua_tointeger(L, 2);

                    __cl_gen_to_be_invoked.CloseForm(formSequence);



                    return(0);
                }
                if (__gen_param_count == 2 && translator.Assignable <JW.Framework.UGUI.UIForm>(L, 2))
                {
                    JW.Framework.UGUI.UIForm form = (JW.Framework.UGUI.UIForm)translator.GetObject(L, 2, typeof(JW.Framework.UGUI.UIForm));

                    __cl_gen_to_be_invoked.CloseForm(form);



                    return(0);
                }
            } catch (System.Exception __gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e));
            }

            return(LuaAPI.luaL_error(L, "invalid arguments to JW.Framework.UGUI.UGUIRoot.CloseForm!"));
        }