Esempio n. 1
0
    public void OpenView(object intent)
    {
        m_SelfName.text = m_proxy.GetPlayerName();
        var index = m_proxy.GetPlayerIndex();

        if (index > 10)
        {
            m_SelfIndex.text     = "未上榜";
            m_SelfIndex.fontSize = 22;
        }
        else
        {
            m_SelfIndex.text     = index.ToString();
            m_SelfIndex.fontSize = 55;
        }
        m_SelfScore.text = m_proxy.GetPlayerRank().ToString();
        m_Cell.SetActive(false);
        m_mediator.NotifyShowRankList();
    }
Esempio n. 2
0
    public void OpenView(object intent)
    {
        m_UserName.text = m_proxy.GetPlayerName();
        m_UserRank.text = m_proxy.GetPlayerRank().ToString();

        var win  = m_proxy.GetPlayerWinCount();
        var lose = m_proxy.GetPlayerLoseCount();
        var draw = m_proxy.GetPlayerDraw();

        m_WinCount.text   = win.ToString();
        m_TotalCount.text = (draw + win + lose).ToString();
        m_UserIndex.text  = m_proxy.GetPlayerIndex().ToString();
    }
Esempio n. 3
0
    public void OpenView(object intent)
    {
        m_UserName.text = m_proxy.GetPlayerName();
        m_UserRank.text = m_proxy.GetPlayerRank().ToString();
        var index = m_proxy.GetPlayerIndex();

        if (index > 10)
        {
            m_Index.text = "未上榜";
        }
        else
        {
            m_Index.text = "第" + index + "名";
        }
    }