Files
tbd-station-14/Content.Server/Interfaces/IServerPreferencesManager.cs
DamianX f19795edaf Added preferences backend (#465)
* Added preferences backend

* Gender -> Sex

* ClientPreferencesManager properties

* Username validation

* Fixed client init

* WIP db

* Actually working sqlite db

* Dropped shitty sqlite libraries, dropped DbUp, added MigrationManager

* Added profile deletion, test

* Docs, sanity, tests, cleanup

* Cleaned up profile and appearance, fixed running on .net core

Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com>
2019-12-22 13:47:34 +01:00

14 lines
387 B
C#

using Content.Shared.Preferences;
using Robust.Server.Interfaces.Player;
namespace Content.Server.Interfaces
{
public interface IServerPreferencesManager
{
void Initialize();
void OnClientConnected(IPlayerSession session);
PlayerPreferences GetPreferences(string username);
void SavePreferences(PlayerPreferences prefs, string username);
}
}