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