Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
        /// <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));
        }
Ejemplo n.º 3
0
 /// <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));
 }