Implemented GetQteList
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user