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