// Token: 0x0600510A RID: 20746 RVA: 0x0018240C File Offset: 0x0018060C public RealTimePVPBattleReportPlayerData DeepCopy() { RealTimePVPBattleReportPlayerData realTimePVPBattleReportPlayerData = new RealTimePVPBattleReportPlayerData { UserId = this.UserId, HeadIcon = this.HeadIcon, Level = this.Level, Name = this.Name, ScoreDiff = this.ScoreDiff }; realTimePVPBattleReportPlayerData.Heroes.AddRange(this.Heroes); realTimePVPBattleReportPlayerData.Techs.AddRange(this.Techs); return(realTimePVPBattleReportPlayerData); }
// Token: 0x0600510B RID: 20747 RVA: 0x00182480 File Offset: 0x00180680 public static RealTimePVPBattleReportPlayerData ToMemory(this ProRealTimePVPBattleReportPlayerData Data) { RealTimePVPBattleReportPlayerData realTimePVPBattleReportPlayerData = new RealTimePVPBattleReportPlayerData { HeadIcon = Data.HeadIcon, Level = Data.Level, Name = Data.Name, UserId = Data.UserId, ScoreDiff = Data.ScoreDiff }; foreach (ProBattleHero pbBattleHero in Data.Heroes) { realTimePVPBattleReportPlayerData.Heroes.Add(BattleHero.PBBattleHeroToBattleHero(pbBattleHero)); } foreach (ProTrainingTech tech in Data.Techs) { realTimePVPBattleReportPlayerData.Techs.Add(TrainingTech.FromDataSection(tech)); } return(realTimePVPBattleReportPlayerData); }
// Token: 0x0600510C RID: 20748 RVA: 0x00182584 File Offset: 0x00180784 public static ProRealTimePVPBattleReportPlayerData ToPro(this RealTimePVPBattleReportPlayerData Data) { ProRealTimePVPBattleReportPlayerData proRealTimePVPBattleReportPlayerData = new ProRealTimePVPBattleReportPlayerData { HeadIcon = Data.HeadIcon, Level = Data.Level, Name = Data.Name, UserId = Data.UserId, ScoreDiff = Data.ScoreDiff }; foreach (BattleHero battleHero in Data.Heroes) { proRealTimePVPBattleReportPlayerData.Heroes.Add(BattleHero.BattleHeroToPBBattleHero(battleHero)); } foreach (TrainingTech trainingTech in Data.Techs) { proRealTimePVPBattleReportPlayerData.Techs.Add(trainingTech.ToPro()); } return(proRealTimePVPBattleReportPlayerData); }