Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UnlockRequirementSingleplayerOnly

Hierarchy

Index

Constructors

constructor

Methods

check

  • check(root: any, faction: any): boolean
  • Parameters

    • root: any
    • faction: any

    Returns boolean

getHideIfNotSatisfied

  • getHideIfNotSatisfied(): boolean
  • Whether to hide buildings / entries if this requirement is not satisfied

    Returns boolean

getOverlayHtml

  • getOverlayHtml(root: any, faction: any): string
  • Returns the html for the requirement overlay

    Parameters

    • root: any
    • faction: any

    Returns string

getUnlockProgress

  • getUnlockProgress(root: any, faction: any): any
  • Returns the unlock progress

    Parameters

    • root: any
    • faction: any

    Returns any

getUnlockText

  • getUnlockText(root: any, faction: any): any
  • Parameters

    • root: any
    • faction: any

    Returns any