VolantisDev / Launchpad

Step up your non-Steam game! Generate Steam-compatible .exe files to effortlessly launch any game through Steam with overlay support.
https://launchpad.games
MIT License
85 stars 3 forks source link

Module definition files #341

Closed bmcclure closed 2 years ago

bmcclure commented 2 years ago

Modules are now definition files instead of classes! One module definition file defines module metadata as well as optional application parameters and services.

If your module needs its own classes, they should be utilized as services or through events, rather than directly in the class file.

To help support this, any service can now define the tag "event_subscriber" which will then automatically hook into the event system. The event manager will call the service's "GetEventSubscribers" method to find out which subscribers the service is listening for.