Effect

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
2
3
4
public readonly record struct Effect(
    EffectType Type,
    object? Payload
)

Metadata

Namespace: GridPlacement.Core.Services.Presentation

Source File: cs/Core/Services/Presentation/Effect.cs

Assembly: GridPlacement.Core

Type: record struct

Implements

  • IEquatable<Effect>

Constructors

Effect

1
2
3
4
public Effect(
    EffectType Type,
    object? Payload
)

Properties

Payload

1
public object? Payload { get; init; }

Type

1
public EffectType Type { get; init; }

Methods

EnsurePreviewExists

1
public static Effect EnsurePreviewExists(string resourcePath)

UpdatePreview

1
public static Effect UpdatePreview(object previewModel)

ClearPreview

1
public static Effect ClearPreview()

ShowIndicator

1
public static Effect ShowIndicator(object indicatorModel)

ClearIndicator

1
public static Effect ClearIndicator()

PlayFeedback

1
public static Effect PlayFeedback(string feedbackKey)

CommitPlacement

1
public static Effect CommitPlacement()

CancelPlacement

1
public static Effect CancelPlacement()

StartManipulation

1
public static Effect StartManipulation(object source)

UpdateManipulation

1
public static Effect UpdateManipulation(object previewModel)

CommitManipulation

1
public static Effect CommitManipulation()

CancelManipulation

1
public static Effect CancelManipulation()