Table of Contents

Class TranslationDelivery

Namespace
Shard.Assets.Delivery
Assembly
Shard.Assets.dll

Builds the UpdateTranslations packet from the pack's i18n (Server/Languages/<lang>/*.lang). Not an asset store: each .lang file contributes key=value lines, keys prefixed by the file's path relative to the language dir (dot-separated), e.g. server.langserver.<key>.

public static class TranslationDelivery
Inheritance
TranslationDelivery
Inherited Members

Methods

Build(IAssetSource, string, string)

public static IToClientPacket Build(IAssetSource assetSource, string languagesDir, string language = "en-US")

Parameters

assetSource IAssetSource
languagesDir string
language string

Returns

IToClientPacket