Scripting API

Scripting API

StringKey

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

One of a game's strings, as code names it: its table's identity, its entry's, and its name, Menu.Play, which shows where no language has it. The build writes one for each entry of each string table, Strings.Menu.Play.

public readonly record struct StringKey

Constructors

StringKey

public StringKey(AssetGuid Table, uint Entry, string Name)

One of a game's strings, as code names it: its table's identity, its entry's, and its name, Menu.Play, which shows where no language has it. The build writes one for each entry of each string table, Strings.Menu.Play.

Parameters

  • Table: Its table's asset identity.
  • Entry: Its entry's identity in the table, given when it was made and never another's.
  • Name: Its table's name and its own, apart by a point.

Properties

Table

public AssetGuid Table { get; init; }

Its table's asset identity.

Entry

public uint Entry { get; init; }

Its entry's identity in the table, given when it was made and never another's.

Name

public string Name { get; init; }

Its table's name and its own, apart by a point.

Methods

ToString

public override string ToString()

Its name.