Scripting API

Scripting API

ConditionField

Record struct in Abyss.Core, from Abyss.Core.

A field a condition can read.

public readonly record struct ConditionField

Constructors

ConditionField

public ConditionField(string Name, bool IsFlag, string? Component = null)

A field a condition can read.

Parameters

  • Name: The component's name and the field's: Movement.Speed.
  • IsFlag: Whether it is true or false rather than a number.
  • Component: The component it is in, as Name starts with it: a game's in full, Abyss.Orbit.Wobble; null for its first word.

Properties

Name

public string Name { get; init; }

The component's name and the field's: Movement.Speed.

IsFlag

public bool IsFlag { get; init; }

Whether it is true or false rather than a number.

Component

public string? Component { get; init; }

The component it is in, as Name starts with it: a game's in full, Abyss.Orbit.Wobble; null for its first word.

ComponentName

public string ComponentName { get; }

The component it is in: ConditionField.Component, or its name's first word.