Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • OnTooltipCallback

Callable

  • Function used in ItemsModule.addTooltip method

    since

    3.0

    Parameters

    • stack: ItemInstance

      item instance, for which the callback was called

    • text: List<String>

      tooltip represented by the list of strings (divided by line breaks). You can modify it in any way: change the existing elements, add yours and remove elements.

    • level: Level

      Level object to get some additional data

    Returns void

Generated using TypeDoc