1
0

IClientPreferencesManager.cs 656 B

123456789101112131415161718192021
  1. using Content.Shared.Preferences;
  2. namespace Content.Client.Lobby
  3. {
  4. public interface IClientPreferencesManager
  5. {
  6. event Action OnServerDataLoaded;
  7. bool ServerDataLoaded => Settings != null;
  8. GameSettings? Settings { get; }
  9. PlayerPreferences? Preferences { get; }
  10. void Initialize();
  11. void SelectCharacter(ICharacterProfile profile);
  12. void SelectCharacter(int slot);
  13. void UpdateCharacter(ICharacterProfile profile, int slot);
  14. void CreateCharacter(ICharacterProfile profile);
  15. void DeleteCharacter(ICharacterProfile profile);
  16. void DeleteCharacter(int slot);
  17. }
  18. }