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>
This commit is contained in:
committed by
Pieter-Jan Briers
parent
c1b9bb348d
commit
f19795edaf
13
Content.Client/Interfaces/IClientPreferencesManager.cs
Normal file
13
Content.Client/Interfaces/IClientPreferencesManager.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Content.Shared.Preferences;
|
||||
|
||||
namespace Content.Client.Interfaces
|
||||
{
|
||||
public interface IClientPreferencesManager
|
||||
{
|
||||
void Initialize();
|
||||
GameSettings Settings { get; }
|
||||
PlayerPreferences Preferences { get; }
|
||||
void SelectCharacter(int slot);
|
||||
void UpdateCharacter(ICharacterProfile profile, int slot);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user