using Core.Controllers; using Core.Models.Eft.Common; using Core.Models.Eft.Prestige; using Core.Utils; using SptCommon.Annotations; namespace Core.Callbacks; [Injectable] public class PrestigeCallbacks( HttpResponseUtil _httpResponseUtil, PrestigeController _prestigeController ) { /// /// Handle client/prestige/list /// /// /// /// /// public string GetPrestige(string url, EmptyRequestData info, string sessionID) { return _httpResponseUtil.GetBody(_prestigeController.GetPrestige(sessionID, info)); } /// /// Handle client/prestige/obtain /// /// /// /// /// public string ObtainPrestige(string url, ObtainPrestigeRequestList info, string sessionID) { _prestigeController.ObtainPrestige(sessionID, info); return _httpResponseUtil.NullResponse(); } }