Total-RP / Total-RP-3

The best roleplaying add-on for World of Warcraft.
http://curse.totalrp.com
Apache License 2.0
33 stars 19 forks source link

New tooltip description and rendering system #941

Open Meorawr opened 1 week ago

Meorawr commented 1 week ago

This implements the basics of the new tooltip builder logic. This works similarly to menu descriptions in 11.0, where we build up a giant description of the tooltip contents line by line and have methods to control how it ultimately gets rendered.

One thing that this system offers us which we don't have today is the ability to hook our tooltips; tooltip descriptions (and lines) can be tagged, so once migrated this system would allow for modules to modify character tooltips in an extensible manner without being forced to always append contents to the end of the tooltip.