static int set_gameMessageCenter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Game.MessageManager obj = (Game.MessageManager)o; UFrame.MessageCenter.ActionMessageCenter arg0 = (UFrame.MessageCenter.ActionMessageCenter)ToLua.CheckObject <UFrame.MessageCenter.ActionMessageCenter>(L, 2); obj.gameMessageCenter = arg0; return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index gameMessageCenter on a nil value")); } }
static int get_gameMessageCenter(IntPtr L) { object o = null; try { o = ToLua.ToObject(L, 1); Game.MessageManager obj = (Game.MessageManager)o; UFrame.MessageCenter.ActionMessageCenter ret = obj.gameMessageCenter; ToLua.PushObject(L, ret); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e, o, "attempt to index gameMessageCenter on a nil value")); } }