Skip to main content

TextAssets

Hierarchy

Index

Constructors

constructor

  • new TextAssets(id: number, enka: EnkaClient, convertToHtmlFormat?: boolean, directory?: string): TextAssets
  • Parameters

    • id: number
    • enka: EnkaClient
    • convertToHtmlFormat: boolean = false
    • optionaldirectory: string

    Returns TextAssets

Properties

convertToHtmlFormat

convertToHtmlFormat: boolean

readonlydirectory

directory: null | string

readonlyenka

readonlyid

id: number

Methods

get

getNullable


  • Parameters

    Returns null | string

    null instead of throwing AssetsNotFoundError.

setConvertToHtmlFormat

  • setConvertToHtmlFormat(convertToHtmlFormat: boolean): this
  • Parameters

    • convertToHtmlFormat: boolean

    Returns this

toString

  • toString(): string
  • Returns string