static int set_openOn(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopupList obj = (UIPopupList)o; UIPopupList.OpenOn arg0 = (UIPopupList.OpenOn)ToLua.CheckObject(L, 2, typeof(UIPopupList.OpenOn)); obj.openOn = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index openOn on a nil value" : e.Message)); } }
static int get_openOn(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPopupList obj = (UIPopupList)o; UIPopupList.OpenOn ret = obj.openOn; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index openOn on a nil value" : e.Message)); } }
private static int get_openOn(IntPtr L) { object obj = null; int result; try { obj = ToLua.ToObject(L, 1); UIPopupList uIPopupList = (UIPopupList)obj; UIPopupList.OpenOn openOn = uIPopupList.openOn; ToLua.Push(L, openOn); result = 1; } catch (Exception ex) { result = LuaDLL.toluaL_exception(L, ex, (obj != null) ? ex.Message : "attempt to index openOn on a nil value"); } return(result); }
private static int set_openOn(IntPtr L) { object obj = null; int result; try { obj = ToLua.ToObject(L, 1); UIPopupList uIPopupList = (UIPopupList)obj; UIPopupList.OpenOn openOn = (UIPopupList.OpenOn)((int)ToLua.CheckObject(L, 2, typeof(UIPopupList.OpenOn))); uIPopupList.openOn = openOn; result = 0; } catch (Exception ex) { result = LuaDLL.toluaL_exception(L, ex, (obj != null) ? ex.Message : "attempt to index openOn on a nil value"); } return(result); }