Split out the Flashii interaction code into a separate library.

This commit is contained in:
flash 2025-04-26 19:42:23 +00:00
commit 2eba089a21
Signed by: flash
GPG key ID: 2C9C2C574D47FE3E
55 changed files with 769 additions and 552 deletions
SharpChat

View file

@ -1,6 +1,6 @@
using SharpChat.Config;
using SharpChat.Configuration;
using SharpChat.EventStorage;
using SharpChat.Misuzu;
using SharpChat.Flashii;
using System.Text;
namespace SharpChat {
@ -52,7 +52,7 @@ namespace SharpChat {
if(hasCancelled) return;
MisuzuClient msz = new(httpClient, config.ScopeTo("msz"));
FlashiiClient flashii = new(httpClient, config.ScopeTo("msz"));
if(hasCancelled) return;
@ -67,7 +67,7 @@ namespace SharpChat {
if(hasCancelled) return;
using SockChatServer scs = new(httpClient, msz, evtStore, config.ScopeTo("chat"));
using SockChatServer scs = new(httpClient, flashii, flashii, evtStore, config.ScopeTo("chat"));
scs.Listen(mre);
mre.WaitOne();