logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Interface IGameSettingsAssetPreloadingIntegrator

    Namespace: Serenity.GameSettings.Application.Interfaces
    Assembly: Serenity.Global.Application.dll
    Syntax
    public interface IGameSettingsAssetPreloadingIntegrator

    Methods

    Initialize(IGameSettingsAssetPreloader, ILogService)

    Initializes the integrator with a given asset preloader component.

    Declaration
    void Initialize(IGameSettingsAssetPreloader assetPreloader, ILogService logService)
    Parameters
    Type Name Description
    IGameSettingsAssetPreloader assetPreloader

    The asset preloader instance to integrate with.

    ILogService logService

    OnMenuDisplayed(string, object[])

    Declaration
    void OnMenuDisplayed(string menuId, object[] options)
    Parameters
    Type Name Description
    string menuId
    object[] options

    OnMenuExited(string)

    Declaration
    void OnMenuExited(string menuId)
    Parameters
    Type Name Description
    string menuId

    OnSelectionChanged(string, int, object[])

    Declaration
    void OnSelectionChanged(string menuId, int selectedIndex, object[] options)
    Parameters
    Type Name Description
    string menuId
    int selectedIndex
    object[] options

    OnValueSubmitted(string, string, string)

    Declaration
    void OnValueSubmitted(string menuId, string selectedValue, string optionId)
    Parameters
    Type Name Description
    string menuId
    string selectedValue
    string optionId

    TriggerManualPreloading(string)

    Manual trigger for preloading, useful for testing/debugging.

    Declaration
    void TriggerManualPreloading(string menuId)
    Parameters
    Type Name Description
    string menuId

    Identifier of the menu to trigger preloading for.

    ValidateConfiguration()

    Validates that the integrator is properly configured.

    Declaration
    bool ValidateConfiguration()
    Returns
    Type Description
    bool

    True if configuration is valid; otherwise false.

    In this article
    © 2026 Serenity. All Rights Reserved