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