SkeldJS
    Preparing search index...

    Represents a controller for a room to handle translations.

    Index

    Constructors

    Properties

    room?: StatefulRoom<StatefulRoom<any, {}>, {}>

    The room to connect the translation controller to.

    Methods

    • Get the translation string of a cosmetic.

      Parameters

      • cosmeticId: string

        The ID of the cosmetic to get the name of.

      • language: Language

        The language to translate the cosmetic name into.

      Returns string

      The cosmetic name as translated into the given language.