Implemented GetQteList

This commit is contained in:
Chomp
2025-01-16 17:06:22 +00:00
parent c62f9c7e22
commit 7074683aad
2 changed files with 6 additions and 3 deletions
+1 -2
View File
@@ -215,8 +215,7 @@ public class DataCallbacks
/// <returns></returns>
public string GetQteList(string url, EmptyRequestData info, string sessionID)
{
// return _httpResponseUtil.GetUnclearedBody(_hideoutController.GetQteList(sessionID)); TODO: HideoutController is not implemented rn
throw new NotImplementedException();
return _httpResponseUtil.GetUnclearedBody(_hideoutController.GetQteList(sessionID));
}
/// <summary>
+5 -1
View File
@@ -4,7 +4,6 @@ using Core.Helpers;
using Core.Models.Eft.Common;
using Core.Models.Eft.Hideout;
using Core.Models.Eft.ItemEvent;
using Core.Models.Enums;
using Core.Models.Spt.Config;
using Core.Models.Utils;
using Core.Routers;
@@ -190,4 +189,9 @@ public class HideoutController
return _eventOutputHolder.GetOutput(sessionId);
}
public List<QteData> GetQteList(string sessionId)
{
return _databaseService.GetHideout().Qte;
}
}