/// <summary> /// Checks a <see cref="PKM"/> file for compatibility to the <see cref="SaveFile"/>. /// </summary> /// <param name="sav"><see cref="SaveFile"/> that is being checked.</param> /// <param name="pkm"><see cref="PKM"/> that is being tested for compatibility.</param> /// <returns></returns> public static IReadOnlyList <string> IsPKMCompatible(this SaveFile sav, PKM pkm) { return(sav.GetSaveFileErrata(pkm, GameInfo.Strings)); }
/// <summary> /// Checks a <see cref="PKM"/> file for compatibility to the <see cref="SaveFile"/>. /// </summary> /// <param name="SAV"><see cref="SaveFile"/> that is being checked.</param> /// <param name="pkm"><see cref="PKM"/> that is being tested for compatibility.</param> /// <returns></returns> public static IReadOnlyList <string> IsPKMCompatible(this SaveFile SAV, PKM pkm) { IBasicStrings strings = GameInfo.Strings; return(SAV.GetSaveFileErrata(pkm, strings)); }
/// <summary> /// Evaluates a <see cref="PKM"/> file for compatibility to the <see cref="SaveFile"/>. /// </summary> /// <param name="sav"><see cref="SaveFile"/> that is being checked.</param> /// <param name="pk"><see cref="PKM"/> that is being tested for compatibility.</param> public static IReadOnlyList <string> EvaluateCompatibility(this SaveFile sav, PKM pk) { return(sav.GetSaveFileErrata(pk, GameInfo.Strings)); }