Services and mechanics
StarMap provides core services and a registry for services shared between mods. Entry classes receive these APIs through constructor injection. Each has its own guide:
- Constructor injection
- Mod-provided services with
IModServiceRegistry - In-game menu items with
IModMenuService - Typed event mediation with
IMediationService - Method patching with
IPatchService
For entry-point method signatures, see lifecycle callbacks. For declaring mod dependencies and sharing assemblies, see mod dependencies.