diff --git a/YavscLib/IChatUserInfo.cs b/YavscLib/IChatUserInfo.cs new file mode 100644 index 00000000..56e128a9 --- /dev/null +++ b/YavscLib/IChatUserInfo.cs @@ -0,0 +1,23 @@ +using System.Collections.Generic; + +namespace YavscLib +{ + public interface IConnection + { + string ConnectionId { get; set; } + string UserAgent { get; set; } + bool Connected { get; set; } + } + + public interface IChatUserInfo + { + IConnection[] Connections { get; set; } + string UserId { get; set; } + + string UserName { get; set; } + + string Avatar { get; set; } + + string[] Roles { get; set; } + } +} \ No newline at end of file diff --git a/YavscLib/YavscLib.csproj b/YavscLib/YavscLib.csproj index 0305d7aa..59372f4c 100644 --- a/YavscLib/YavscLib.csproj +++ b/YavscLib/YavscLib.csproj @@ -58,6 +58,7 @@ +