Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Transformable
    • Character

Index

Constructors

constructor

  • Returns Character

Properties

Optional ascendancyClass

ascendancyClass: number

class

class: string

Optional classId

classId: number

Optional depth

depth: Depth

experience

experience: number

Optional id

id: string

Optional league

league: number

level

level: number

name

name: string

Optional score

score: number

Accessors

levelProgression

  • get levelProgression(): number
  • Calculates the current level progression and returns it as a percentage value.

    Returns number

Methods

toPlain

  • toPlain(): unknown
  • Converts this class back into a plain javascript object.

    remarks

    Property keys which have been renamed during the initial transformation to a class object will be reverted to the original keys. For example, the cachedSince property in the Ladder class will be reverted to the original API property, cached_since.

    Returns unknown

Generated using TypeDoc