static int _m_Open(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TouchScreenKeyboard gen_to_be_invoked = (FairyGUI.TouchScreenKeyboard)translator.FastGetCSObj(L, 1);



                {
                    string _text            = LuaAPI.lua_tostring(L, 2);
                    bool   _autocorrection  = LuaAPI.lua_toboolean(L, 3);
                    bool   _multiline       = LuaAPI.lua_toboolean(L, 4);
                    bool   _secure          = LuaAPI.lua_toboolean(L, 5);
                    bool   _alert           = LuaAPI.lua_toboolean(L, 6);
                    string _textPlaceholder = LuaAPI.lua_tostring(L, 7);
                    int    _keyboardType    = LuaAPI.xlua_tointeger(L, 8);
                    bool   _hideInput       = LuaAPI.lua_toboolean(L, 9);

                    gen_to_be_invoked.Open(_text, _autocorrection, _multiline, _secure, _alert, _textPlaceholder, _keyboardType, _hideInput);



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

                FairyGUI.TouchScreenKeyboard gen_to_be_invoked = (FairyGUI.TouchScreenKeyboard)translator.FastGetCSObj(L, 1);
                LuaAPI.lua_pushboolean(L, gen_to_be_invoked.supportsCaret);
            } catch (System.Exception gen_e) {
                return(LuaAPI.luaL_error(L, "c# exception:" + gen_e));
            }
            return(1);
        }
示例#3
0
        static int __CreateInstance(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);
                if (LuaAPI.lua_gettop(L) == 1)
                {
                    FairyGUI.TouchScreenKeyboard gen_ret = new FairyGUI.TouchScreenKeyboard();
                    translator.Push(L, 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 FairyGUI.TouchScreenKeyboard constructor!"));
        }
示例#4
0
        static int _m_Close(RealStatePtr L)
        {
            try {
                ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L);


                FairyGUI.TouchScreenKeyboard gen_to_be_invoked = (FairyGUI.TouchScreenKeyboard)translator.FastGetCSObj(L, 1);



                {
                    gen_to_be_invoked.Close(  );



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


                FairyGUI.TouchScreenKeyboard gen_to_be_invoked = (FairyGUI.TouchScreenKeyboard)translator.FastGetCSObj(L, 1);



                {
                    string gen_ret = gen_to_be_invoked.GetInput(  );
                    LuaAPI.lua_pushstring(L, gen_ret);



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