public void RollbackTo(TrackableUserContextTracker tracker) { if (DataTracker != null) { DataTracker.RollbackTo(tracker.DataTracker); } if (AchivementsTracker != null) { AchivementsTracker.RollbackTo(tracker.AchivementsTracker); } }
public void RollbackTo(IUserContext trackable) { if (DataTracker != null) { DataTracker.RollbackTo(trackable.Data); } if (AchivementsTracker != null) { AchivementsTracker.RollbackTo(trackable.Achivements); } }