Scripting API
Scripting API
ListLayout
Record in Abyss.Core, from Abyss.Core.
What one item of a list component is: how big, and where its fields are.
public record ListLayoutConstructors
ListLayout
public ListLayout(ComponentId Component, int ItemSize, int ItemAlign, IReadOnlyList<ComponentField> Fields)What one item of a list component is: how big, and where its fields are.
Parameters
Component: The list component.ItemSize: How big one item is, in bytes.ItemAlign: How aligned one item is.Fields: Where each field is in an item, as offsets into it.
Properties
Component
public ComponentId Component { get; init; }The list component.
ItemSize
public int ItemSize { get; init; }How big one item is, in bytes.
ItemAlign
public int ItemAlign { get; init; }How aligned one item is.
Fields
public IReadOnlyList<ComponentField> Fields { get; init; }Where each field is in an item, as offsets into it.
