mirror of
https://github.com/huiyadanli/RevokeMsgPatcher.git
synced 2026-07-29 05:37:13 +08:00
[+] 完成基于特征码的防撤回查找替换功能
This commit is contained in:
@@ -12,6 +12,17 @@ namespace RevokeMsgPatcher.Model
|
||||
|
||||
public byte[] Content { get; set; }
|
||||
|
||||
public Change()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public Change(long position, byte[] content)
|
||||
{
|
||||
Position = position;
|
||||
Content = content;
|
||||
}
|
||||
|
||||
public Change Clone()
|
||||
{
|
||||
Change o = new Change();
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace RevokeMsgPatcher.Model.Enum
|
||||
{
|
||||
/// <summary>
|
||||
/// 两种打补丁的方式
|
||||
/// 精准(指定位置替换)、通用(特征码替换)
|
||||
/// </summary>
|
||||
public enum PatchType
|
||||
{
|
||||
Accurate, // 精准(指定位置替换)
|
||||
Common // 通用(特征码替换)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user