v2.7.2 更新
This commit is contained in:
@@ -7,7 +7,6 @@ using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using BarrageGrab.Modles;
|
||||
using ColorConsole;
|
||||
|
||||
namespace BarrageGrab
|
||||
{
|
||||
@@ -163,6 +162,17 @@ namespace BarrageGrab
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据webRoomid从缓存获取房间信息
|
||||
/// </summary>
|
||||
/// <param name="webrid"></param>
|
||||
/// <returns></returns>
|
||||
public RoomInfo GetByWebRoomid(string webrid)
|
||||
{
|
||||
var find = RoomInfoCache.FirstOrDefault(p => p.Value.WebRoomId == webrid);
|
||||
return find.Value;
|
||||
}
|
||||
|
||||
|
||||
public class RoomCacheEventArgs : EventArgs
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user