static int get__mode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextAgent obj = (UITextAgent)o; UITextAgent.TextAgentMode ret = obj._mode; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index _mode on a nil value" : e.Message)); } }
static int set__mode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UITextAgent obj = (UITextAgent)o; UITextAgent.TextAgentMode arg0 = (UITextAgent.TextAgentMode)ToLua.CheckObject(L, 2, typeof(UITextAgent.TextAgentMode)); obj._mode = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index _mode on a nil value" : e.Message)); } }