Pular para o conteúdo
AstraDOCS

Astra.GuiInteraction

Astra atual · C# · 06 out. 2026Referência de assinaturas

Target is a stable ID in the same UI document; zero means this element.

Namespace: Astra · Assembly: Astra.Scripting · Tipo: Struct

readonly record struct Astra.GuiInteraction

Target is a stable ID in the same UI document; zero means this element.

Interfaces: System.IEquatable<Astra.GuiInteraction>.

Membro Categoria
.ctor Method
Action Property
Clickable Property
Target Property
Value Property

.ctor

public GuiInteraction(bool Clickable, Astra.GuiClickAction Action = Astra.GuiClickAction.Notify, uint Target = 0, float Value = 0)

Target is a stable ID in the same UI document; zero means this element.

Parâmetro Tipo Contrato
Clickable bool
Action Astra.GuiClickAction · Opcional: 0
Target uint · Opcional: 0
Value float · Opcional: 0

Action

public Astra.GuiClickAction Action { get; init; }

Clickable

public bool Clickable { get; init; }

Target

public uint Target { get; init; }

Value

public float Value { get; init; }