Skip to content

Add config added listener #42

Description

@anonymous123-code

Make Configs observable so that you can add listeners that get called when a new config is added.

This is necessary for modmenu integration of an automatic loading screen mod:
It first stores hashmaps provided by the entrypoint in a list, meaning that those could still be mutated, until it applies config screens provided for other mods during the init of its main screen. (So when it is opened for the first time)

It should respect the hidden metadata proposed by #32

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions