Delta-v/Content.Client/Interfaces/IClientPreferencesManager.cs

23 lines
673 B
C#

using System;
using Content.Shared.Preferences;
namespace Content.Client.Interfaces
{
public interface IClientPreferencesManager
{
event Action OnServerDataLoaded;
bool ServerDataLoaded => Settings != null;
GameSettings Settings { get; }
PlayerPreferences Preferences { get; }
void Initialize();
void SelectCharacter(ICharacterProfile profile);
void SelectCharacter(int slot);
void UpdateCharacter(ICharacterProfile profile, int slot);
void CreateCharacter(ICharacterProfile profile);
void DeleteCharacter(ICharacterProfile profile);
void DeleteCharacter(int slot);
}
}