fix injections, fix logging
This commit is contained in:
@@ -9,6 +9,7 @@ using Core.Utils;
|
||||
namespace Core.Callbacks;
|
||||
|
||||
[Injectable(InjectableTypeOverride = typeof(OnUpdate), TypePriority = OnUpdateOrder.DialogCallbacks)]
|
||||
[Injectable(InjectableTypeOverride = typeof(DialogueCallbacks))]
|
||||
public class DialogueCallbacks : OnUpdate
|
||||
{
|
||||
protected HashUtil _hashUtil;
|
||||
|
||||
@@ -14,6 +14,7 @@ using Core.Utils;
|
||||
namespace Core.Callbacks;
|
||||
|
||||
[Injectable(InjectableTypeOverride = typeof(OnUpdate), TypePriority = OnUpdateOrder.InsuranceCallbacks)]
|
||||
[Injectable(InjectableTypeOverride = typeof(InsuranceCallbacks))]
|
||||
public class InsuranceCallbacks : OnUpdate
|
||||
{
|
||||
protected InsuranceController _insuranceController;
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Core.Callbacks;
|
||||
|
||||
[Injectable(InjectableTypeOverride = typeof(OnLoad), TypePriority = OnLoadOrder.RagfairCallbacks)]
|
||||
[Injectable(InjectableTypeOverride = typeof(OnUpdate), TypePriority = OnUpdateOrder.RagfairCallbacks)]
|
||||
[Injectable(InjectableTypeOverride = typeof(RagfairCallbacks))]
|
||||
public class RagfairCallbacks : OnLoad, OnUpdate
|
||||
{
|
||||
protected HttpResponseUtil _httpResponseUtil;
|
||||
|
||||
@@ -7,6 +7,7 @@ using Core.Models.Spt.Config;
|
||||
using Core.Models.Spt.Weather;
|
||||
using Core.Servers;
|
||||
using Core.Services;
|
||||
using ILogger = Core.Models.Utils.ILogger;
|
||||
|
||||
namespace Core.Controllers;
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ using Core.Models.Enums;
|
||||
using Core.Models.Spt.Config;
|
||||
using Core.Servers;
|
||||
using Core.Utils;
|
||||
using ILogger = Core.Models.Utils.ILogger;
|
||||
|
||||
namespace Core.Services;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user