ResoniteModdingGroup / MonkeyLoader.GamePacks.Resonite

MonkeyLoader Game Pack which provides hooks for Resonite mods.
https://resonitemoddinggroup.github.io/MonkeyLoader.GamePacks.Resonite/
GNU Lesser General Public License v3.0
14 stars 2 forks source link

Let configs define indicator elements that get shown but can't be edited and don't get saved #59

Open Banane9 opened 1 month ago

Banane9 commented 1 month ago

Basically a dedicated way to add a DataFeedIndicator<T> (where T is string exclusively, afaik) to the pages.

Of course, these should update automatically whenever their underlaying value changes if they are linked to a config key. This part could be done with a component as well, perhaps, that passes through the update event and has a ToString func to generate the indicator text.

For indicators not tied to config keys, an interface could be defined that presents the indicators. The indicators would themselves have an interface shared with the indicator component, which defines the properties necessary for the indicator and the changed event to update the DataFeedItem visual.

Would make the most sense to build on top of #6 / #9