static int set_m_align(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIArtFont obj = (UI.UIArtFont)o; UI.UIArtFont.enAlign arg0 = (UI.UIArtFont.enAlign)ToLua.CheckObject(L, 2, typeof(UI.UIArtFont.enAlign)); obj.m_align = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_align on a nil value" : e.Message)); } }
static int get_m_align(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); UI.UIArtFont obj = (UI.UIArtFont)o; UI.UIArtFont.enAlign ret = obj.m_align; ToLua.Push(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o == null ? "attempt to index m_align on a nil value" : e.Message)); } }