Table of Contents

Class I18nModule

Namespace
Shard.Assets.I18n
Assembly
Shard.Assets.dll

Loads server translation catalogs after the asset pack is available.

public sealed class I18nModule : BaseModule, IModule
Inheritance
I18nModule
Implements
Inherited Members

Properties

Manifest

Gets the module's identity and dependency declaration.

public override ModuleManifest Manifest { get; }

Property Value

ModuleManifest

Methods

OnPreloadAsync(CancellationToken)

Performs asynchronous preload work that must complete before this module can start.

protected override Task OnPreloadAsync(CancellationToken cancellationToken)

Parameters

cancellationToken CancellationToken

A token that is canceled when server startup is interrupted.

Returns

Task

A task representing the asynchronous preload operation.