Skip to content

Class ChangePage

Namespace: Void.Minecraft.Components.Text.Events.Actions.Click
Assembly: Void.Minecraft.dll

Represents a click event action that changes the currently displayed book page.

public record ChangePage : IClickEventAction, IEquatable<ChangePage>

Inheritance

objectChangePage

Implements

IClickEventAction, IEquatable<ChangePage>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

ChangePage(int)

Represents a click event action that changes the currently displayed book page.

public ChangePage(int Page)

Parameters

Page int

The target page number written to the click event payload.

Properties

ActionName

Gets the change_page click-action identifier.

public string ActionName { get; }

Property Value

string

Page

The target page number written to the click event payload.

public int Page { get; init; }

Property Value

int