public void onPnlClk(GameObject go) { IUIHero uiSH = Ctx.m_instance.m_uiMgr.getForm(UIFormID.eUIHero) as IUIHero; uiSH.exit(); hide(); }
protected void psstRetAllHeroInfoUserCmd(ByteBuffer msg) { stRetAllHeroInfoUserCmd cmd = new stRetAllHeroInfoUserCmd(); cmd.derialize(msg); Ctx.m_instance.m_dataPlayer.m_dataHero.psstRetAllHeroInfoUserCmd(cmd.info); IUIHero uiSH = Ctx.m_instance.m_uiMgr.getForm(UIFormID.eUIHero) as IUIHero; if (uiSH != null && uiSH.isVisible()) { uiSH.updateAllHero(); } }