public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero, PlayerHero) { StartTime = StartTime, EndTime = EndTime, Coin = Coin, GameMode = GameMode, Turns = Turns, _turnStats = LoadTurnStats(), IsClone = true }; newGame.Save(); return(newGame); }
public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero); newGame.StartTime = StartTime; newGame.EndTime = EndTime; newGame.Coin = Coin; newGame.GameMode = GameMode; newGame.Turns = Turns; newGame._turnStats = LoadTurnStats(); newGame.Save(); return(newGame); }
public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero, PlayerHero) { StartTime = StartTime, EndTime = EndTime, Coin = Coin, GameMode = GameMode, Turns = Turns, _turnStats = LoadTurnStats(), PlayerName = PlayerName, OpponentName = OpponentName, ReplayFile = ReplayFile, WasConceded = WasConceded, VerifiedHeroes = VerifiedHeroes, IsClone = true }; newGame.Save(); return(newGame); }
public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero) {StartTime = StartTime, EndTime = EndTime, Coin = Coin, GameMode = GameMode, Turns = Turns, _turnStats = LoadTurnStats()}; newGame.Save(); return newGame; }
public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero, PlayerHero) { StartTime = StartTime, EndTime = EndTime, Coin = Coin, GameMode = GameMode, Turns = Turns, _turnStats = LoadTurnStats(), PlayerName = PlayerName, OpponentName = OpponentName, ReplayFile = ReplayFile, WasConceded = WasConceded, VerifiedHeroes = VerifiedHeroes, PlayerDeckVersion = PlayerDeckVersion, IsClone = true }; newGame.Save(); return newGame; }
public GameStats CloneWithNewId() { var newGame = new GameStats(Result, OpponentHero); newGame.StartTime = StartTime; newGame.EndTime = EndTime; newGame.Coin = Coin; newGame.GameMode = GameMode; newGame.Turns = Turns; newGame._turnStats = LoadTurnStats(); newGame.Save(); return newGame; }