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; }
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); }