Exemplo n.º 1
0
        public void OnRequestClanListInfo()
        {
            if (!m_bSerchChange)
            {
                return;
            }

            m_bSerchChange = false;

            ClanListWnd wnd = m_wnd as ClanListWnd;

            // 没搜索,请求第一页信息
            if (m_LastSerch == string.Empty)
            {
                wnd.RequestClanListInfo(1, "");
            }
            else
            {
                wnd.RequestClanListInfo(1, m_LastSerch);
            }
        }
Exemplo n.º 2
0
        void OnNextPageBtn()
        {
            cmd_clan_list_head listInfo = LogicDataCenter.clanDataManager.ClanListHeadData;

            if (m_curPageNum >= listInfo.nTotalNum)
            {
                return;
            }

            ClanListWnd wnd = m_wnd as ClanListWnd;

            wnd.RequestClanListInfo(m_curPageNum + 1, m_LastSerch);
        }
Exemplo n.º 3
0
        void OnPrevPageBtn()
        {
            cmd_clan_list_head listInfo = LogicDataCenter.clanDataManager.ClanListHeadData;

            if (m_curPageNum <= 1)
            {
                return;
            }

            ClanListWnd wnd = m_wnd as ClanListWnd;

            wnd.RequestClanListInfo(m_curPageNum - 1, m_LastSerch);
        }