use prim ctor and fixed warnings: InRaid and Insurance callbacks

This commit is contained in:
CWX
2025-01-18 13:11:20 +00:00
parent 71f2af285b
commit dcec73af02
2 changed files with 15 additions and 42 deletions
+4 -15
View File
@@ -1,28 +1,17 @@
using Core.Annotations;
using Core.Controllers;
using Core.Models.Eft.Common;
using Core.Models.Eft.HttpResponse;
using Core.Models.Eft.InRaid;
using Core.Utils;
namespace Core.Callbacks;
[Injectable]
public class InraidCallbacks
{
protected InRaidController _inRaidController;
protected HttpResponseUtil _httpResponseUtil;
public InraidCallbacks
(
InRaidController inRaidController,
HttpResponseUtil httpResponseUtil
public class InraidCallbacks(
InRaidController _inRaidController,
HttpResponseUtil _httpResponseUtil
)
{
_inRaidController = inRaidController;
_httpResponseUtil = httpResponseUtil;
}
{
/// <summary>
/// Handle client/location/getLocalloot
/// Store active map in profile + applicationContext