清理程序,并移除 BouncyCastle 的dll

This commit is contained in:
梅浩东
2025-04-14 15:16:55 +08:00
parent fe9c3ca5ae
commit bfb1ff514d
25 changed files with 133 additions and 135 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ namespace BarrageGrab.Modles
this.Code = -1;
}
public BusinessExecption(string msg,object data) : base(msg)
public BusinessExecption(string msg, object data) : base(msg)
{
this.ErrorTarget = data;
}
@@ -8,8 +8,8 @@ namespace BarrageGrab.Modles.JsonEntity
public enum PackMsgType
{
[Description("无")]
无 = 0,
[Description("消息")]
无 = 0,
[Description("消息")]
弹幕消息 = 1,
[Description("点赞")]
点赞消息 = 2,
@@ -71,8 +71,8 @@ namespace BarrageGrab.Modles.JsonEntity
/// <summary>
/// 消息类型
/// </summary>
public PackMsgType Type { get; set; }
public PackMsgType Type { get; set; }
/// <summary>
/// 进程名
/// </summary>
@@ -88,7 +88,7 @@ namespace BarrageGrab.Modles.JsonEntity
}
public BarrageMsgPack(string data, PackMsgType type,string processName)
public BarrageMsgPack(string data, PackMsgType type, string processName)
{
Data = data;
Type = type;
@@ -304,8 +304,8 @@ namespace BarrageGrab.Modles.JsonEntity
/// <summary>
/// 抖币价格
/// </summary>
public int DiamondCount { get; set; }
public int DiamondCount { get; set; }
/// <summary>
/// 该礼物是否可连击
/// </summary>
+1 -1
View File
@@ -16,7 +16,7 @@ namespace BarrageGrab.Modles.JsonEntity
/// <summary>
/// 空指令
/// </summary>
None = 0,
None = 0,
/// <summary>
/// 安全关闭程序
+3 -3
View File
@@ -4,8 +4,8 @@ using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace BarrageGrab.Modles
{
@@ -659,7 +659,7 @@ namespace BarrageGrab.Modles
}
info = dto;
return Tuple.Create(0, "succ");
@@ -710,7 +710,7 @@ namespace BarrageGrab.Modles
SecUid = roomOwner["sec_uid"].ToString(),
HeadUrl = roomOwner["avatar_thumb"]["url_list"].Values<string>()?.FirstOrDefault() ?? "",
FollowStatus = roomOwner["follow_info"]["follow_status"].Value<int>()
};
};
}
info = dto;