mwg API
    Preparing search index...

    Type Alias EntityTextResolver<Id>

    EntityTextResolver: (id: Id) => string

    Resolves a game-defined entity/item id to the display text a message substitutes for it. A type contract only - MWG never calls this itself; a game calls it while building a SemanticMessage's params, the same way it already owns every other piece of vocabulary.

    Type Parameters

    • Id = string

    Type Declaration

      • (id: Id): string
      • Parameters

        Returns string