OverlayPlugin
OverlayPlugin copied to clipboard
Add additional supported fields to IOverlayPreset
I am not sure this approach is reasonable, because how do downstream dependencies that are using the IOverlayPreset supposed to compile? Do they need to be updated ahead of time?
Another alternative is to add more strings into Supports, but that felt a little bit hacky.
Do you have suggestions on better ways to get at this? Maybe RegisterOverlayPreset could take a JObject instead of an IOverlayPreset as a way to have a looser coupling?
Using JObjects sounds like a good solution. The default presets are already read through Newtonsoft.Json, I'd have to modify the code that parses the JSON data but then I could use it for both RegisterOverlayPreset and the presets.json file.
Oh, and sorry for the late response. I didn't check GitHub for the past two months...