Hierarchy (view full)

Constructors

  • Parameters

    • localizationKey: string
    • name: string
    • description: string
    • iconImage: string
    • score: number
    • challengeFunc: ((challenge) => boolean)
        • (challenge): boolean
        • Parameters

          Returns boolean

    Returns ChallengeAchv

Properties

description: string
hasParent: boolean
iconImage: string
id: string
localizationKey: string
name: string
parentId: string
score: number
secret: boolean

Methods

  • Get the name of the achievement based on the gender of the player

    Parameters

    Returns string

    the name of the achievement localized for the player gender