From 65522567a5d86af905c0fa687f079f1b62327026 Mon Sep 17 00:00:00 2001 From: Tom Date: Sat, 10 Aug 2024 19:37:33 +0000 Subject: [PATCH] Modified Login Ack message to provide more info. --- Socket/Data/HermesLoginMessage.cs | 4 ++++ Socket/Data/LoginAckMessage.cs | 9 +++++++++ 2 files changed, 13 insertions(+) diff --git a/Socket/Data/HermesLoginMessage.cs b/Socket/Data/HermesLoginMessage.cs index 5d602c0..c1ffad4 100644 --- a/Socket/Data/HermesLoginMessage.cs +++ b/Socket/Data/HermesLoginMessage.cs @@ -3,5 +3,9 @@ namespace HermesSocketLibrary.Socket.Data public class HermesLoginMessage { public string ApiKey { get; set; } + public string Password { get; set; } + public bool WebLogin { get; set; } + public int? MajorVersion { get; set; } + public int? MinorVersion { get; set; } } } \ No newline at end of file diff --git a/Socket/Data/LoginAckMessage.cs b/Socket/Data/LoginAckMessage.cs index 372830b..cb6b56c 100644 --- a/Socket/Data/LoginAckMessage.cs +++ b/Socket/Data/LoginAckMessage.cs @@ -4,5 +4,14 @@ namespace HermesSocketLibrary.Socket.Data { public string UserId { get; set; } public bool AnotherClient { get; set; } + public long? OwnerId { get; set; } + public bool Admin { get; set; } + public bool WebLogin { get; set; } + + public string DefaultTTSVoice { get; set; } + public IEnumerable EnabledTTSVoices { get; set; } + public IDictionary TTSVoicesAvailable { get; set; } + + public Connection[] Connections { get; set; } } } \ No newline at end of file