// Token: 0x060010BA RID: 4282 RVA: 0x000166C8 File Offset: 0x000148C8 public static PlayerMatchStats Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlayerMatchStats playerMatchStats = new PlayerMatchStats(); playerMatchStats.Cmid = Int32Proxy.Deserialize(bytes); playerMatchStats.Death = Int32Proxy.Deserialize(bytes); playerMatchStats.HasFinishedMatch = BooleanProxy.Deserialize(bytes); playerMatchStats.HasWonMatch = BooleanProxy.Deserialize(bytes); playerMatchStats.Headshots = Int32Proxy.Deserialize(bytes); playerMatchStats.Hits = Int64Proxy.Deserialize(bytes); playerMatchStats.Kills = Int32Proxy.Deserialize(bytes); playerMatchStats.Nutshots = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { playerMatchStats.PersonalRecord = PlayerPersonalRecordStatisticsViewProxy.Deserialize(bytes); } playerMatchStats.Shots = Int64Proxy.Deserialize(bytes); playerMatchStats.Smackdowns = Int32Proxy.Deserialize(bytes); playerMatchStats.TimeSpentInGame = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { playerMatchStats.WeaponStatistics = PlayerWeaponStatisticsViewProxy.Deserialize(bytes); } return(playerMatchStats); }
// Token: 0x060010E4 RID: 4324 RVA: 0x000188D4 File Offset: 0x00016AD4 public static PlayerCardView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlayerCardView playerCardView = new PlayerCardView(); playerCardView.Cmid = Int32Proxy.Deserialize(bytes); playerCardView.Hits = Int64Proxy.Deserialize(bytes); if ((num & 1) != 0) { playerCardView.Name = StringProxy.Deserialize(bytes); } if ((num & 2) != 0) { playerCardView.Precision = StringProxy.Deserialize(bytes); } playerCardView.Ranking = Int32Proxy.Deserialize(bytes); playerCardView.Shots = Int64Proxy.Deserialize(bytes); playerCardView.Splats = Int32Proxy.Deserialize(bytes); playerCardView.Splatted = Int32Proxy.Deserialize(bytes); if ((num & 4) != 0) { playerCardView.TagName = StringProxy.Deserialize(bytes); } return(playerCardView); }
// Token: 0x060010EA RID: 4330 RVA: 0x00018CDC File Offset: 0x00016EDC public static PlayerStatisticsView Deserialize(Stream bytes) { int num = Int32Proxy.Deserialize(bytes); PlayerStatisticsView playerStatisticsView = new PlayerStatisticsView(); playerStatisticsView.Cmid = Int32Proxy.Deserialize(bytes); playerStatisticsView.Headshots = Int32Proxy.Deserialize(bytes); playerStatisticsView.Hits = Int64Proxy.Deserialize(bytes); playerStatisticsView.Level = Int32Proxy.Deserialize(bytes); playerStatisticsView.Nutshots = Int32Proxy.Deserialize(bytes); if ((num & 1) != 0) { playerStatisticsView.PersonalRecord = PlayerPersonalRecordStatisticsViewProxy.Deserialize(bytes); } playerStatisticsView.Shots = Int64Proxy.Deserialize(bytes); playerStatisticsView.Splats = Int32Proxy.Deserialize(bytes); playerStatisticsView.Splatted = Int32Proxy.Deserialize(bytes); playerStatisticsView.TimeSpentInGame = Int32Proxy.Deserialize(bytes); if ((num & 2) != 0) { playerStatisticsView.WeaponStatistics = PlayerWeaponStatisticsViewProxy.Deserialize(bytes); } playerStatisticsView.Xp = Int32Proxy.Deserialize(bytes); return(playerStatisticsView); }