Made some changes to Login message & Login ack message.

This commit is contained in:
Tom 2025-03-06 16:07:16 +00:00
parent f807448e03
commit 0b5b4b71a5
2 changed files with 4 additions and 3 deletions

View File

@ -3,9 +3,9 @@ namespace HermesSocketLibrary.Socket.Data
public class HermesLoginMessage public class HermesLoginMessage
{ {
public required string ApiKey { get; set; } public required string ApiKey { get; set; }
public string? Password { get; set; }
public bool WebLogin { get; set; } public bool WebLogin { get; set; }
public int? MajorVersion { get; set; } public int MajorVersion { get; set; }
public int? MinorVersion { get; set; } public int MinorVersion { get; set; }
public int? PatchVersion { get; set; }
} }
} }

View File

@ -12,6 +12,7 @@ namespace HermesSocketLibrary.Socket.Data
public long? OwnerId { get; set; } public long? OwnerId { get; set; }
public bool Admin { get; set; } public bool Admin { get; set; }
public bool WebLogin { get; set; } public bool WebLogin { get; set; }
public bool Slave { get; set; }
public string DefaultTTSVoice { get; set; } public string DefaultTTSVoice { get; set; }
public IList<string> EnabledTTSVoices { get; set; } public IList<string> EnabledTTSVoices { get; set; }