Skip to content

Class OpenFile

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

Represents a click action that asks the client to open a local file.

public record OpenFile : IClickEventAction, IEquatable<OpenFile>

Inheritance

objectOpenFile

Implements

IClickEventAction, IEquatable<OpenFile>

Inherited Members

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

Constructors

OpenFile(string)

Represents a click action that asks the client to open a local file.

public OpenFile(string File)

Parameters

File string

The local file path supplied to the client.

Properties

ActionName

Gets the open_file click-action identifier.

public string ActionName { get; }

Property Value

string

File

The local file path supplied to the client.

public string File { get; init; }

Property Value

string