Files
crystall-punk-14/Content.Client/Preferences/IClientPreferencesManager.cs

23 lines
676 B
C#
Raw Normal View History

2020-06-26 03:46:08 +02:00
using System;
using Content.Shared.Preferences;
2021-06-09 22:19:39 +02:00
namespace Content.Client.Preferences
{
public interface IClientPreferencesManager
{
2020-06-26 03:46:08 +02:00
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);
}
}