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
+2 -2
View File
@@ -5,8 +5,8 @@ using SptCommon.Annotations;
namespace Core.Callbacks;
[Injectable(InjectionType.Singleton, InjectableTypeOverride = typeof(OnLoad), TypePriority = OnLoadOrder.HttpCallbacks)]
public class HttpCallbacks(HttpServer _httpServer, ApplicationContext _applicationContext) : OnLoad
[Injectable(InjectionType.Singleton, InjectableTypeOverride = typeof(IOnLoad), TypePriority = OnLoadOrder.HttpCallbacks)]
public class HttpCallbacks(HttpServer _httpServer, ApplicationContext _applicationContext) : IOnLoad
{
public Task OnLoad()
{