feat: add LiteDB => Sqlite importer

This commit is contained in:
Dean Sheather
2024-04-22 02:43:48 +10:00
parent c152f3dfde
commit fcdb5625f3
11 changed files with 816 additions and 14 deletions
+3 -1
View File
@@ -3,6 +3,7 @@ using ChatTwo.Util;
using Dalamud.Game.Text.SeStringHandling;
using Dalamud.Game.Text.SeStringHandling.Payloads;
using System.Text.RegularExpressions;
using LiteDB;
namespace ChatTwo;
@@ -10,7 +11,8 @@ internal class SortCode {
internal ChatType Type { get; }
internal ChatSource Source { get; }
internal SortCode(ChatType type, ChatSource source) {
[BsonCtor] // Used by LegacyMessageImporter
public SortCode(ChatType type, ChatSource source) {
Type = type;
Source = source;
}