[+] 使用新的对象、使用了新的UI

This commit is contained in:
huiyadanli
2019-09-15 23:58:47 +08:00
parent 6d7361df65
commit 34b8b81588
7 changed files with 343 additions and 21 deletions
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevokeMsgPatcher.Model
{
public class App
{
public string Name { get; set; }
public List<Version> Versions { get; set; }
}
}
+21
View File
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevokeMsgPatcher.Model
{
public class BinaryFile
{
public string Name { get; set; }
public string Version { get; set; }
public string SHA1Before { get; set; }
public string SHA1After { get; set; }
public List<Change> Changes { get; set; }
}
}
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevokeMsgPatcher.Model
{
public class Change
{
public long Position { get; set; }
public byte Content { get; set; }
}
}
+15
View File
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace RevokeMsgPatcher.Model
{
public class Version
{
public string AppVersion { get; set; }
public List<BinaryFile> Files { get; set; }
}
}