static int Refresh(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); UITextAutoOmit obj = (UITextAutoOmit)ToLua.CheckObject(L, 1, typeof(UITextAutoOmit)); string arg0 = ToLua.CheckString(L, 2); obj.Refresh(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
static int set_text(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextAutoOmit obj = (UITextAutoOmit)o; string arg0 = ToLua.CheckString(L, 2); obj.text = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index text on a nil value" : e.Message)); } }
static int get_text(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextAutoOmit obj = (UITextAutoOmit)o; string ret = obj.text; LuaDLL.lua_pushstring(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index text on a nil value" : e.Message)); } }