• Gets an array of all the translations in a dictionary entry.

    Type Parameters

    Parameters

    • dictionary: DICT

      The dictionary to get a translation from, for instance, Dictionary.Item.

    • entry: default extends DICT ? number : DictionaryEntryEnums[DICT]

      The entry in the given dictionary to get a translation from, for instance, Item.Branch.

    Returns default[]

  • Gets an array of translations by their translation id. Entry matching is done by changing the case-style of the inputted translation id, so if you provide an all lower-case string it will not work!

    Examples that do work:

    • Ui:MenuMainButtonContinueGame
    • ui:menuMainButtonContinueGame
    • ui:menu-main-button-continue-game
    • Ui:Menu-Main-Button-Continue-Game
    • Player.FirstName:random
    • Creature.AcidSpitterDemon:1

    Examples that don't work:

    • UI:MENU-MAIN-BUTTON-CONTINUE-GAME
    • Ui:menumainbuttoncontinuegame
    • UI:MENUMAINBUTTONCONTINUEGAME

    Parameters

    • translationId: string

    Returns default[]

Generated using TypeDoc