static int QPYX_set_mode_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); TextWrap QPYX_obj_YXQP = (TextWrap)QPYX_o_YXQP; TextWrap.WrapMode QPYX_arg0_YXQP = (TextWrap.WrapMode)ToLua.CheckObject(L_YXQP, 2, typeof(TextWrap.WrapMode)); QPYX_obj_YXQP.mode = QPYX_arg0_YXQP; return(0); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index mode on a nil value")); } }
static int QPYX_get_mode_YXQP(IntPtr L_YXQP) { object QPYX_o_YXQP = null; try { QPYX_o_YXQP = ToLua.ToObject(L_YXQP, 1); TextWrap QPYX_obj_YXQP = (TextWrap)QPYX_o_YXQP; TextWrap.WrapMode QPYX_ret_YXQP = QPYX_obj_YXQP.mode; ToLua.Push(L_YXQP, QPYX_ret_YXQP); return(1); } catch (Exception QPYX_e_YXQP) { return(LuaDLL.toluaL_exception(L_YXQP, QPYX_e_YXQP, QPYX_o_YXQP, "attempt to index mode on a nil value")); } }
static int set_mode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TextWrap obj = (TextWrap)o; TextWrap.WrapMode arg0 = (TextWrap.WrapMode)ToLua.CheckObject(L, 2, typeof(TextWrap.WrapMode)); obj.mode = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index mode on a nil value")); } }
static int get_mode(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); TextWrap obj = (TextWrap)o; TextWrap.WrapMode ret = obj.mode; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index mode on a nil value")); } }