Class TranslationDelivery
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.lang → server.<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
assetSourceIAssetSourcelanguagesDirstringlanguagestring
Returns
- IToClientPacket