ruipin/fvtt-lib-wrapper

Trigger hooks when OVERRIDE wrappers get overridden.

Closed this issue · 1 comments

If an existing OVERRIDE wrapper gets taken over by a different module because they have priority, right now modules are not notified.

It might make sense to add an option API to allow modules to set a callback that should be fired when this event happens.

This could use the Hooks system, e.g. a hook libWrapper.OverrideLost

Might make sense to add this also for similar events, e.g. libWrapper.ConflictDetected.

This is now done in v1.4.0.0, closing.

All newly added hooks are now documented.