static int get_selectType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)o; littlerbird.UI.QuickGrid.SelectType ret = obj.selectType; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index selectType on a nil value")); } }
static int set_selectType(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); littlerbird.UI.QuickGrid obj = (littlerbird.UI.QuickGrid)o; littlerbird.UI.QuickGrid.SelectType arg0 = (littlerbird.UI.QuickGrid.SelectType)ToLua.CheckObject(L, 2, typeof(littlerbird.UI.QuickGrid.SelectType)); obj.selectType = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index selectType on a nil value")); } }