Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Achievement

Hierarchy

  • Achievement

Index

Constructors

constructor

  • new Achievement(meta: any, progress?: any): Achievement
  • Parameters

    • meta: any
    • Default value progress: any = null

    Returns Achievement

Methods

getCategory

  • getCategory(): any
  • Returns the category

    Returns any

getDesc

  • getDesc(): any
  • Returns the description

    Returns any

getDiamondsReward

  • getDiamondsReward(): any
  • Returns how many diamonds it gains

    Returns any

getIconType

  • getIconType(): any
  • Returns the type of icon

    Returns any

getId

  • getId(): any
  • Returns the id

    Returns any

getInternalId

  • getInternalId(): any
  • Returns the internal database id

    Returns any

getIsSecret

  • getIsSecret(): any
  • Returns if its shown in the achievements view until unlocked

    Returns any

getProgress

  • getProgress(): any
  • Returns the progress

    Returns any

    0 ... 1

getTitle

  • getTitle(): any
  • Returns the title

    Returns any