[reorg]
This commit is contained in:
parent
730ee00743
commit
02160f1eaf
26 changed files with 129 additions and 132 deletions
|
|
@ -1,8 +0,0 @@
|
|||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
public enum ChatRoomUsageLevel: int {
|
||||
User=0,
|
||||
HalfOp,
|
||||
Op
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
public interface IChatConnection<T> : IConnection where T: IChatRoomUsage
|
||||
{
|
||||
List<T> Rooms { get; }
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
public interface IChatRoom<TUsage> where TUsage : IChatRoomUsage
|
||||
{
|
||||
string Name { get; set; }
|
||||
string Topic { get ; set; }
|
||||
List<TUsage> UserList { get; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
|
||||
public interface IChatRoomUsage {
|
||||
|
||||
string ChannelName { get; set; }
|
||||
|
||||
string ChatUserConnectionId { get; set; }
|
||||
|
||||
ChatRoomUsageLevel Level { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
|
||||
public interface IChatUserInfo
|
||||
{
|
||||
IConnection[] Connections { get; set; }
|
||||
string UserId { get; set; }
|
||||
|
||||
string UserName { get; set; }
|
||||
|
||||
string Avatar { get; set; }
|
||||
|
||||
string[] Roles { get; set; }
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
namespace Yavsc.Abstract.Streaming
|
||||
{
|
||||
public interface IConnection
|
||||
{
|
||||
string ConnectionId { get; set; }
|
||||
string UserAgent { get; set; }
|
||||
bool Connected { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue