Scripting API

Scripting API

PackageChanges

Record in Abyss.Core, from Abyss.Core.

What a game's copy of a package has that its original has not, by path in the package, with forward slashes.

public record PackageChanges

Constructors

PackageChanges

public PackageChanges(IReadOnlyList<string> Changed, IReadOnlyList<string> Added, IReadOnlyList<string> Gone)

What a game's copy of a package has that its original has not, by path in the package, with forward slashes.

Parameters

  • Changed: Each file there in both, differing.
  • Added: Each file the copy has and the original has not.
  • Gone: Each file the original has and the copy has not.

Properties

Changed

public IReadOnlyList<string> Changed { get; init; }

Each file there in both, differing.

Added

public IReadOnlyList<string> Added { get; init; }

Each file the copy has and the original has not.

Gone

public IReadOnlyList<string> Gone { get; init; }

Each file the original has and the copy has not.

Any

public bool Any { get; }

Whether the copy differs from its original at all.

Count

public int Count { get; }

How many files differ, each once.