static int get_shadowMode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.ShadowMode ret = obj.shadowMode; ToLua.Push(L, ret); return 1; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shadowMode on a nil value"); } }
static int set_shadowMode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UIPanel obj = (UIPanel)o; UIDrawCall.ShadowMode arg0 = (UIDrawCall.ShadowMode)ToLua.CheckObject(L, 2, typeof(UIDrawCall.ShadowMode)); obj.shadowMode = arg0; return 0; } catch(Exception e) { return LuaDLL.toluaL_exception(L, e, o, "attempt to index shadowMode on a nil value"); } }