示例#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));
 }
示例#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));
        }
示例#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));
 }