logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class SequenceDefinitionRowsGui

    Draws CreateSequencePlayerWindow's Sequences-step Definitions list — one foldout row per SequenceDefinitionRowSeed.DefinitionRow with its Id field and ordered Stages sub-list, plus the "+ Add Definition" button. Pure presentation over a caller-owned row list, no window state of its own, mirroring Serenity.Localization.Installation.Settings.Editor.Builder.LocalizationTableSelectionGui's contract. Extracted from the window to keep that file under the project's file-size ratchet.

    Inheritance
    object
    SequenceDefinitionRowsGui
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.SequencePlayer.Infrastructure.Editor.Builder
    Assembly: Serenity.UnitySequencePlayer.Infrastructure.Editor.dll
    Syntax
    public static class SequenceDefinitionRowsGui

    Methods

    DrawAddButton(List<DefinitionRow>)

    Declaration
    public static void DrawAddButton(List<SequenceDefinitionRowSeed.DefinitionRow> definitions)
    Parameters
    Type Name Description
    List<SequenceDefinitionRowSeed.DefinitionRow> definitions

    DrawRows(List<DefinitionRow>)

    Declaration
    public static void DrawRows(List<SequenceDefinitionRowSeed.DefinitionRow> definitions)
    Parameters
    Type Name Description
    List<SequenceDefinitionRowSeed.DefinitionRow> definitions

    ValidateDefinitionIdField(List<DefinitionRow>, int, string)

    The per-row Definition Id field's validation rule — mirrors SequencePlayerCreator's own private ValidateDefinitionIdsWithinBatch exactly (required, then a case-insensitive duplicate check against every other row), via the shared Serenity.Global.Infrastructure.Editor.SerenityWizardFieldRules.UniqueWithinRows(System.Int32,System.Collections.Generic.IReadOnlyList{System.String},System.String,System.Func{System.Int32,System.String,System.String}) rule, so this early hint can never disagree with the window's own full Validate(Input) call.

    Declaration
    public static string ValidateDefinitionIdField(List<SequenceDefinitionRowSeed.DefinitionRow> definitions, int index, string candidateId)
    Parameters
    Type Name Description
    List<SequenceDefinitionRowSeed.DefinitionRow> definitions
    int index
    string candidateId
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved