Scripting API

Scripting API

FieldChoice

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

One value of an enum a field holds: its name as the enum declares it, and its number.

public readonly record struct FieldChoice

Constructors

FieldChoice

public FieldChoice(string Name, long Value)

One value of an enum a field holds: its name as the enum declares it, and its number.

Parameters

  • Name: The member's name: Kinematic.
  • Value: Its number, as the field holds it; an unsigned enum's past long.MaxValue as its bits.

Properties

Name

public string Name { get; init; }

The member's name: Kinematic.

Value

public long Value { get; init; }

Its number, as the field holds it; an unsigned enum's past long.MaxValue as its bits.