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
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
File
The local file path supplied to the client.
public string File { get; init; }