static int _m_Return_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); int gen_param_count = LuaAPI.lua_gettop(L); if (gen_param_count == 1 && translator.Assignable <FairyGUI.TextField.LineInfo>(L, 1)) { FairyGUI.TextField.LineInfo _value = (FairyGUI.TextField.LineInfo)translator.GetObject(L, 1, typeof(FairyGUI.TextField.LineInfo)); FairyGUI.TextField.LineInfo.Return(_value); return(0); } if (gen_param_count == 1 && translator.Assignable <System.Collections.Generic.List <FairyGUI.TextField.LineInfo> >(L, 1)) { System.Collections.Generic.List <FairyGUI.TextField.LineInfo> _values = (System.Collections.Generic.List <FairyGUI.TextField.LineInfo>)translator.GetObject(L, 1, typeof(System.Collections.Generic.List <FairyGUI.TextField.LineInfo>)); FairyGUI.TextField.LineInfo.Return(_values); return(0); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(LuaAPI.luaL_error(L, "invalid arguments to FairyGUI.TextField.LineInfo.Return!")); }
static int _s_set_y(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.TextField.LineInfo gen_to_be_invoked = (FairyGUI.TextField.LineInfo)translator.FastGetCSObj(L, 1); gen_to_be_invoked.y = (float)LuaAPI.lua_tonumber(L, 2); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(0); }
static int _g_get_charCount(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); FairyGUI.TextField.LineInfo gen_to_be_invoked = (FairyGUI.TextField.LineInfo)translator.FastGetCSObj(L, 1); LuaAPI.xlua_pushinteger(L, gen_to_be_invoked.charCount); } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } return(1); }
static int __CreateInstance(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); if (LuaAPI.lua_gettop(L) == 1) { FairyGUI.TextField.LineInfo gen_ret = new FairyGUI.TextField.LineInfo(); 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.TextField.LineInfo constructor!")); }
static int _m_Borrow_xlua_st_(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); { FairyGUI.TextField.LineInfo gen_ret = FairyGUI.TextField.LineInfo.Borrow( ); translator.Push(L, gen_ret); return(1); } } catch (System.Exception gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + gen_e)); } }