Split out the Flashii interaction code into a separate library.
This commit is contained in:
parent
51f5c4c948
commit
2eba089a21
55 changed files with 769 additions and 552 deletions
SharpChat
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue