static int get_onReposition(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIGridContainer obj = (UIGridContainer)o; UIGridContainer.OnReposition ret = obj.onReposition; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onReposition on a nil value")); } }
static int set_onReposition(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIGridContainer obj = (UIGridContainer)o; UIGridContainer.OnReposition arg0 = (UIGridContainer.OnReposition)ToLua.CheckDelegate <UIGridContainer.OnReposition>(L, 2); obj.onReposition = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index onReposition on a nil value")); } }