static int set_method(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCUITweener obj = (BCUITweener)o; BCUITweener.Method arg0 = (BCUITweener.Method)ToLua.CheckObject(L, 2, typeof(BCUITweener.Method)); obj.method = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index method on a nil value")); } }
static int get_method(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); BCUITweener obj = (BCUITweener)o; BCUITweener.Method ret = obj.method; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index method on a nil value")); } }