Chat user info model implementation

This commit is contained in:
Paul Schneider 2016-12-15 01:03:36 +01:00
commit cfa053cfc9
2 changed files with 24 additions and 0 deletions

23
YavscLib/IChatUserInfo.cs Normal file
View file

@ -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; }
}
}