예제 #1
0
 /// <summary>
 /// Checks if the <see cref="PKM"/> is compatible with the input <see cref="SaveFile"/>, and makes any necessary modifications to force compatibility.
 /// </summary>
 /// <remarks>Should only be used when forcing a backwards conversion to sanitize the PKM fields to the target format.
 /// If the PKM is compatible, some properties may be forced to sanitized values.</remarks>
 /// <param name="SAV">Save File target that the PKM will be injected.</param>
 /// <param name="pk">PKM input that is to be injected into the Save File.</param>
 /// <returns>Indication whether or not the PKM is compatible.</returns>
 public static bool IsPKMCompatibleWithModifications(this SaveFile SAV, PKM pk) => PKMConverter.IsPKMCompatibleWithModifications(pk, SAV);