ButtonBhv

This is an abstract base class for UI buttons. The button can display a Tooltip. For the contents of the tooltip, ButtonBhv requires its inheritors to implement GetTooltipData()

The Implementation of the Button caches the result of GetTooltipData().
The Data returned by GetTooltipData() provides space for some ReactiveProperties. These can be used to change values in the Tooltip outside of GetTooltipData()

A button does not necessarily have to be clickable.

Tbe already contains the following inheritors:

  • CastButtonBhv

  • CharAttributeBhv

  • CooldownButtonBhv

  • CurrencyUiBhv

  • ItemButtonBhv

  • UiBuffBhv

  • WeaponButtonBhv

  • and more