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): TextAssets
  • Parameters

    • convertToHtmlFormat: boolean

    Returns TextAssets

toString

  • toString(): string
  • Returns string