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