mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
b81a1e1e29
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)
38 lines
No EOL
958 B
C#
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,
|
|
}
|
|
} |