Interface IGameSettingsAssetPreloadingIntegrator
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
Declaration
void OnMenuDisplayed(string menuId, object[] options)
Parameters
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
OnValueSubmitted(string, string, string)
Declaration
void OnValueSubmitted(string menuId, string selectedValue, string optionId)
Parameters
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.
|