Use async DB queries.

This commit is contained in:
Pieter-Jan Briers
2020-06-26 03:46:08 +02:00
parent 357c110535
commit 579ff6bb26
20 changed files with 656 additions and 148 deletions

View File

@@ -1,3 +1,5 @@
using System.Collections.Generic;
using System.Threading.Tasks;
using Content.Shared.Preferences;
using Robust.Server.Interfaces.Player;
@@ -7,7 +9,8 @@ namespace Content.Server.Interfaces
{
void FinishInit();
void OnClientConnected(IPlayerSession session);
PlayerPreferences GetPreferences(string username);
Task<PlayerPreferences> GetPreferencesAsync(string username);
Task<IEnumerable<KeyValuePair<string, ICharacterProfile>>> GetSelectedProfilesForPlayersAsync(List<string> usernames);
void StartInit();
}
}