コード例 #1
0
    private void Response(int error, List <byte[]> btData)
    {
        var data = PlayerRankListResponse.ParseFrom(btData[0]);

        m_userProxy.SetPlayerIndex(data.UserRank);
        m_userProxy.SetPlayerRank(data.Rank);
        m_pvpProxy.SetRankListData(data);
        SendNotification(NotificationConstant.RankUpdate, new object[] { data.Rank, data.UserRank });
        SendNotification(NotificationConstant.RankListResponse);
    }