PKHeX/PKHeX.Core/Editing/Saves/Slots/SlotTouchResult.cs
Kurt fc754b346b
File scoped namespaces (#3529)
[Language Reference](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/file-scoped-namespaces)

Updates all the files, one less level of indentation.

Some small changes were made to API surfaces, renaming `PKM pkm` -> `PKM pk`, and `LegalityAnalysis.pkm` -> `LegalityAnalysis.Entity`
2022-06-18 11:04:24 -07:00

37 lines
837 B
C#

namespace PKHeX.Core;
/// <summary>
/// Result indicators for modifying a Slot within a <see cref="SaveFile"/> or other data location.
/// </summary>
public enum SlotTouchResult
{
/// <summary>
/// Slot interaction was successful.
/// </summary>
Success,
/// <summary>
/// Slot interaction failed to do anything.
/// </summary>
FailNone,
/// <summary>
/// Slot interaction failed to apply the data.
/// </summary>
FailWrite,
/// <summary>
/// Slot interaction failed to delete the data.
/// </summary>
FailDelete,
/// <summary>
/// Slot interaction failed due to a bad/unmodifiable source.
/// </summary>
FailSource,
/// <summary>
/// Slot interaction failed due to a bad/unmodifiable destination.
/// </summary>
FailDestination,
}