static int _m_RemoveWindowDynOrder(RealStatePtr L) { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); xc.ui.ugui.UIManager __cl_gen_to_be_invoked = (xc.ui.ugui.UIManager)translator.FastGetCSObj(L, 1); try { { xc.ui.ugui.UIBaseWindow win = (xc.ui.ugui.UIBaseWindow)translator.GetObject(L, 2, typeof(xc.ui.ugui.UIBaseWindow)); __cl_gen_to_be_invoked.RemoveWindowDynOrder(win); return(0); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }