mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-15 14:24:16 +01:00
add redis for character identification
This commit is contained in:
parent
ea48fb3947
commit
1f66b2c980
16 changed files with 356 additions and 175 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue