add redis for character identification
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.Hosting;
|
||||
|
||||
namespace MareSynchronosShared.Services;
|
||||
|
||||
public interface IClientIdentificationService : IHostedService
|
||||
{
|
||||
int GetOnlineUsers();
|
||||
string? GetUidForCharacterIdent(string characterIdent);
|
||||
string? GetCharacterIdentForUid(string uid);
|
||||
void MarkUserOnline(string uid, string charaIdent);
|
||||
void MarkUserOffline(string uid);
|
||||
}
|
||||
Reference in New Issue
Block a user