-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e7a3c82
commit c11fd84
Showing
3 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
using KonataNT.Events; | ||
|
||
namespace KonataNT.Core; | ||
|
||
internal class PushHandler | ||
{ | ||
private readonly BaseClient _client; | ||
|
||
private Dictionary<string, Action<byte[]>> _handlerFunction; | ||
|
||
public PushHandler(BaseClient client) | ||
{ | ||
_client = client; | ||
_handlerFunction = new Dictionary<string, Action<byte[]>> | ||
{ | ||
{ "trpc.msg.olpush.OlPushService.MsgPush", ParseMsfPush }, | ||
{ "trpc.qq_new_tech.status_svc.StatusService.KickNT", ParseMsfKick } | ||
}; | ||
} | ||
|
||
private void ParseMsfPush(byte[] packet) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
|
||
private void ParseMsfKick(byte[] packet) | ||
{ | ||
throw new NotImplementedException(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters