示例#1
0
        protected override void TakeRemote()
        {
            PlayerSinglePvpLogic psp = new PlayerSinglePvpLogic();

            psp.SetUser(m_RequestPacket.PlayerId);
            psp.DealPvpResult(m_RequestPacket.Result, m_RequestPacket.Score);
            m_ResponsePacket.Score    = psp.MyPvp.SinglePvpScore;
            m_ResponsePacket.PlayerId = m_RequestPacket.PlayerId;
            PlayerSinglePvpLogic.RefreshRank();
        }
示例#2
0
        protected override void TakeRemote()
        {
            PlayerSinglePvpLogic psp = new PlayerSinglePvpLogic();

            for (int i = 0; i < m_RequestPacket.PlayerIds.Count; i++)
            {
                psp.SetUser(m_RequestPacket.PlayerIds[i]);
                //psp.DealPvpResult(m_RequestPacket.HasWon[i]);
            }
            PlayerSinglePvpLogic.RefreshRank();
        }