Scripting API

Scripting API

UiMatch

Record in Abyss.Core, from Abyss.Core.

A rule of a document's sheets applying to elements drawn on the canvas.

public record UiMatch

Constructors

UiMatch

public UiMatch(string Sheet, int Line, IReadOnlyList<ulong> Elements)

A rule of a document's sheets applying to elements drawn on the canvas.

Parameters

  • Sheet: The sheet the rule is in, by its path under the assets.
  • Line: The line the rule begins on, from one.
  • Elements: The elements of the draft it applies to.

Properties

Sheet

public string Sheet { get; init; }

The sheet the rule is in, by its path under the assets.

Line

public int Line { get; init; }

The line the rule begins on, from one.

Elements

public IReadOnlyList<ulong> Elements { get; init; }

The elements of the draft it applies to.