2020-06-26 03:46:08 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
2019-12-22 13:47:34 +01:00
|
|
|
using Content.Shared.Preferences;
|
|
|
|
|
using Robust.Server.Interfaces.Player;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Interfaces
|
|
|
|
|
{
|
|
|
|
|
public interface IServerPreferencesManager
|
|
|
|
|
{
|
2020-01-25 16:16:34 +01:00
|
|
|
void FinishInit();
|
2019-12-22 13:47:34 +01:00
|
|
|
void OnClientConnected(IPlayerSession session);
|
2020-06-26 03:46:08 +02:00
|
|
|
Task<PlayerPreferences> GetPreferencesAsync(string username);
|
|
|
|
|
Task<IEnumerable<KeyValuePair<string, ICharacterProfile>>> GetSelectedProfilesForPlayersAsync(List<string> usernames);
|
2020-01-25 16:16:34 +01:00
|
|
|
void StartInit();
|
2019-12-22 13:47:34 +01:00
|
|
|
}
|
|
|
|
|
}
|