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