Renamed interface to IOnLoad

Added OnLoad mod
Expanded `OnLoadOrder` options
This commit is contained in:
Chomp
2025-02-08 12:18:57 +00:00
parent 212dfd0d65
commit ac7b2daeba
19 changed files with 80 additions and 36 deletions
@@ -10,17 +10,12 @@ namespace ExampleMods.Mods._6ReplaceMethod
public class ReplaceMethod: Watermark
{
public ReplaceMethod(
ISptLogger<Watermark> logger,
ISptLogger<Watermark> logger, // The logger needs to use the same type as the overriden type (in this case, Watermark)
ConfigServer configServer,
LocalisationService localisationService,
WatermarkLocale watermarkLocale)
: base(logger, configServer, localisationService, watermarkLocale)
{
_configServer = configServer;
_localisationService = localisationService;
_watermarkLocale = watermarkLocale;
_logger = logger;
}
: base(logger, configServer, localisationService, watermarkLocale) // You must provide the parameters the overridden type requires
{ }
public override void Initialize()
{