Scripting API

Scripting API

UpdateFile

Record in Abyss.Core, from Abyss.Core.

One file a package's update would change, by its path in the package, with forward slashes.

public record UpdateFile

Constructors

UpdateFile

public UpdateFile(string Path, UpdateKind Kind, YoursKind Yours, bool Locked)

One file a package's update would change, by its path in the package, with forward slashes.

Parameters

  • Path: Its path.
  • Kind: What the version does to it.
  • Yours: What the game's copy has done to it: where anything, taking the version's loses the person's.
  • Locked: Whether it is always taken: the manifest, which carries the version.

Properties

Path

public string Path { get; init; }

Its path.

Kind

public UpdateKind Kind { get; init; }

What the version does to it.

Yours

public YoursKind Yours { get; init; }

What the game's copy has done to it: where anything, taking the version's loses the person's.

Locked

public bool Locked { get; init; }

Whether it is always taken: the manifest, which carries the version.

Conflict

public bool Conflict { get; }

Whether the version and the game's copy have both changed it, so which to keep is the person's to say.