Exemplo n.º 1
0
 private static void CampRecordAux(ref CampJudgeRecord cjr, HeroKDA heroKda)
 {
     cjr.killNum    += (ushort)heroKda.numKill;
     cjr.deadNum    += (ushort)heroKda.numDead;
     cjr.gainCoin   += (uint)(heroKda.TotalCoin - heroKda.CoinFromSystem);
     cjr.hurtToHero += (uint)heroKda.hurtToHero;
     cjr.sufferHero += (uint)heroKda.hurtTakenByHero;
 }
Exemplo n.º 2
0
        public bool GetCampJudgeRecord(COM_PLAYERCAMP camp, int timeIndex, ref CampJudgeRecord cjr)
        {
            int num = timeIndex * 2 + (camp - COM_PLAYERCAMP.COM_PLAYERCAMP_1);

            if (num < this.m_CampJudgeRecords.Count)
            {
                cjr = this.m_CampJudgeRecords[num];
                return(true);
            }
            return(false);
        }