Scripting API
Scripting API
ChoiceVariant
Record in Abyss.Core, from Abyss.Core.
One variant of a ComponentChoice, and the value choosing it gives.
public record ChoiceVariantConstructors
ChoiceVariant
public ChoiceVariant(string Name, string? Value)One variant of a ComponentChoice, and the value choosing it gives.
Parameters
Name: Its name, as the enum declares it.Value: A value of the enum holding this variant, as JSON, made from what its fields' types make by default, or what a Rust field says it starts as with@VariantDefault; null where one of them has no default, so it cannot be chosen from nothing.
Properties
Name
public string Name { get; init; }Its name, as the enum declares it.
Value
public string? Value { get; init; }A value of the enum holding this variant, as JSON, made from what its fields' types make by default, or what a Rust field says it starts as with @VariantDefault; null where one of them has no default, so it cannot be chosen from nothing.
