Scripting API

Scripting API

MapName

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

An input map as code names it: Actions.Maps.UI, which the build writes; its name; or the InputMap itself. Found by its identity first, as ActionName is.

public readonly record struct MapName

Constructors

MapName

public MapName(string Name, ulong Id = 0)

An input map as code names it: Actions.Maps.UI, which the build writes; its name; or the InputMap itself. Found by its identity first, as ActionName is.

Parameters

  • Name: Its name.
  • Id: Its identity, or zero to find it by its name alone.

Properties

Name

public string Name { get; init; }

Its name.

Id

public ulong Id { get; init; }

Its identity, or zero to find it by its name alone.

Methods

ToString

public override string ToString()

Operators

implicit operator MapName

public static implicit operator MapName(string name)

The map called name.

Parameters

  • name

implicit operator MapName

public static implicit operator MapName(InputMap map)

The map itself.

Parameters

  • map