public static WgStatsShip FromRanked(WgStatsRankedShip rankedShip, long accountId, long shipId) { return(new WgStatsShip { AccountId = accountId, ShipId = shipId, Battles = rankedShip.Battles, Pvp = WgStatsPvp.FromRanked(rankedShip) }); }
public static WgStatsPvp FromRanked(WgStatsRankedShip rankedShip) { return(new WgStatsPvp { Battles = rankedShip.Battles, Wins = rankedShip.Wins, DamageDealt = rankedShip.DamageDealt, Frags = rankedShip.Frags, Xp = rankedShip.Xp }); }