Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • YRecipe

Index

Constructors

constructor

Methods

Static canLearnNewRecipes

  • Returns whenever selected player can learn new crafting recipes.

    Parameters

    Returns boolean

Static forget

  • Allows the target player to forget a specific recipe.

    Parameters

    Returns void

Static forgetAll

  • Allows to reset all crafting recipes for target player.

    Parameters

    Returns void

Static isLearnable

  • Returns true if the target player can learn the selected recipe.

    Parameters

    Returns boolean

Static learn

  • Learns the target player selected recipe.

    Parameters

    Returns void

Static setCanLearnNewRecipes

  • setCanLearnNewRecipes(player: YCharacter, value: boolean): void
  • Allows to set whenever selected player can learn new crafting recipes.

    Parameters

    Returns void

Static setLearnable

  • Allows to set whether the target player can learn the selected recipe.

    Parameters

    Returns void

Generated using TypeDoc