PKHeX/PKHeX.Core/Editing/Saves/Slots/SlotTouchResult.cs
Kurt b81a1e1e29 Refactoring
Increase abstraction for arbitrary slot get/set operations, and fracture
SAV4 behavior for each game type.

Adds: Undo/Redo of party slot changes
Fixes: Fixed Gen5 daycare slot 2 reading, and EXP reading
Fixes: Some slot color glitchiness
Fixed: Box layout editor now hides the flag label if no flags are
present
Fixed: Gen7 box flags are now shown (unknown purpose lol)
Changed: savefile objects are generally smaller (removed a few shared
offset fields)
2019-09-02 19:30:58 -07:00

38 lines
No EOL
958 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,
}
}