完善窗体逻辑;

添加弹幕日志;
修复房间信息获取正则表达式;
This commit is contained in:
梅浩东
2023-11-23 16:43:21 +08:00
parent 37b9da6d38
commit 873608f534
25 changed files with 1278 additions and 481 deletions
+27
View File
@@ -0,0 +1,27 @@
using BarrageGrab.Modles;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BarrageGrab.Forms.Models
{
internal class RoomCacheItem
{
public RoomCacheItem(RoomInfo info)
{
this.RoomInfo = info;
}
/// <summary>
/// 数据对象
/// </summary>
public RoomInfo RoomInfo { get; set; }
public override string ToString()
{
if (RoomInfo == null) return "NULL";
return $"({RoomInfo.WebRoomId}){RoomInfo?.Owner?.Nickname??"-1"}";
}
}
}