Scripting API

Scripting API

FileDrop

Record struct in Abyss.Core, from Abyss.Core.

A file dragged over a window or dropped on it, as World.ReadFileDrops reports it.

public readonly record struct FileDrop

Constructors

FileDrop

public FileDrop(FileDropKind Kind, string Path)

A file dragged over a window or dropped on it, as World.ReadFileDrops reports it.

Parameters

  • Kind: What it is doing.
  • Path: Where it is, as the platform named it: absolute, with the platform's separators. Empty for a FileDropKind.Canceled, which names no file.

Properties

Kind

public FileDropKind Kind { get; init; }

What it is doing.

Path

public string Path { get; init; }

Where it is, as the platform named it: absolute, with the platform's separators. Empty for a FileDropKind.Canceled, which names no file.