Scripting API
Scripting API
UiDocumentCode
Record in Abyss.Core, from Abyss.Core.
What the build writes of a UI document's class; see UiDocumentFiles.CodeOf.
public record UiDocumentCodeConstructors
UiDocumentCode
public UiDocumentCode(string Class, IReadOnlyList<string> Members, IReadOnlyList<string> Handlers)What the build writes of a UI document's class; see UiDocumentFiles.CodeOf.
Parameters
Class: The class's name.Members: Each named element's member, in the document's order.Handlers: The handlers the game's half can implement, each apartial voidas it is declared:OnPlayClicked(),OnMusicToggled(bool on).
Properties
Class
public string Class { get; init; }The class's name.
Members
public IReadOnlyList<string> Members { get; init; }Each named element's member, in the document's order.
Handlers
public IReadOnlyList<string> Handlers { get; init; }The handlers the game's half can implement, each a partial void as it is declared: OnPlayClicked(), OnMusicToggled(bool on).
