Files
SPT-Server-Build/Core/Services/ProfileActivityService.cs
T
2025-01-11 18:14:39 +00:00

38 lines
1.0 KiB
C#

using Core.Annotations;
namespace Core.Services;
[Injectable(InjectionType.Singleton)]
public class ProfileActivityService
{
/**
* Was the requested profile active in the last requested minutes
* @param sessionId Profile to check
* @param minutes Minutes to check for activity in
* @returns True when profile was active within past x minutes
*/
public bool ActiveWithinLastMinutes(string sessionId, int minutes)
{
throw new NotImplementedException();
}
/**
* Get a list of profile ids that were active in the last x minutes
* @param minutes How many minutes from now to search for profiles
* @returns List of profile ids
*/
public List<string> GetActiveProfileIdsWithinMinutes(int minutes)
{
throw new NotImplementedException();
}
/**
* Update the timestamp a profile was last observed active
* @param sessionId Profile to update
*/
public void SetActivityTimestamp(string sessionId)
{
throw new NotImplementedException();
}
}