Files
tbd-station-14/Content.Server/Interfaces/IServerPreferencesManager.cs
Pieter-Jan Briers 579ff6bb26 Use async DB queries.
2020-06-26 03:46:28 +02:00

17 lines
543 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using Content.Shared.Preferences;
using Robust.Server.Interfaces.Player;
namespace Content.Server.Interfaces
{
public interface IServerPreferencesManager
{
void FinishInit();
void OnClientConnected(IPlayerSession session);
Task<PlayerPreferences> GetPreferencesAsync(string username);
Task<IEnumerable<KeyValuePair<string, ICharacterProfile>>> GetSelectedProfilesForPlayersAsync(List<string> usernames);
void StartInit();
}
}