static int _m_GetTopForm(RealStatePtr L) { try { ObjectTranslator translator = ObjectTranslatorPool.Instance.Find(L); JW.Framework.UGUI.UGUIRoot __cl_gen_to_be_invoked = (JW.Framework.UGUI.UGUIRoot)translator.FastGetCSObj(L, 1); { JW.Framework.UGUI.UIForm __cl_gen_ret = __cl_gen_to_be_invoked.GetTopForm( ); translator.Push(L, __cl_gen_ret); return(1); } } catch (System.Exception __gen_e) { return(LuaAPI.luaL_error(L, "c# exception:" + __gen_e)); } }