304 Commits

Author SHA1 Message Date
f8e01e8c72
适配desktop和server 2023-10-21 16:54:16 +08:00
0b560cb1c5
先创建utf-16的ini文件 2023-10-21 16:37:02 +08:00
6e4d99d742
Add check 'plugins' directory does exists 2023-10-21 15:41:52 +08:00
milimoe
ac2c52c11a
修改2FA.KEY文件的保存路径 2023-10-21 02:21:13 +08:00
milimoe
51ddb2f736
完善2FA相关功能 第一部分 (#57) 2023-10-21 01:52:50 +08:00
94bad21e8d
添加SocketMessageType: System&MatchRoom 2023-10-18 22:48:22 +08:00
958d95768e
优化代码 2023-10-18 21:03:57 +08:00
965ce01875
添加结果行查询 2023-10-17 22:04:42 +08:00
d194545304
添加返回信息和定时删除 2023-10-17 21:58:12 +08:00
c4ed012141
添加AuthenticationType和传入参数 2023-10-17 21:44:34 +08:00
0014ad4b33
添加2FA 2023-10-17 21:02:32 +08:00
0b272dd6b8
添加before&after 2023-10-17 20:31:32 +08:00
6876430f7a
Add more authenticators 2023-10-16 22:58:00 +08:00
c3c153635f
Add Authenticator 2023-10-16 20:56:01 +08:00
b923308be2
添加适用插件的SocketRuntimeType 2023-10-15 15:11:34 +08:00
827d22d899
更名 2023-09-28 20:10:17 +08:00
yeziuku
a91a3d151a
更新注释 2023-09-27 11:07:08 +08:00
milimoe
52b4fc2078
为插件添加更多默认属性;优化了房间相关 (#55) 2023-09-26 01:01:46 +08:00
milimoe
082ce3b6f5
添加插件加载器和事件触发方法组 (#54)
* Add PluginLoader

* 删除event返回值

* 添加插件触发器(方法组)

* 删除冗余方法

* 将typeof(GetType())改写为this is

* 删除无用引用
2023-09-24 13:06:10 +08:00
milimoe
eb0bb86f38
添加插件接口 (#53)
* 开发插件接口和基类

* 添加构造方法

* 添加PluginManager
2023-09-19 00:15:07 +08:00
83699eb766
Modify Room 2023-09-11 21:34:29 +08:00
35382bf703
修复拒绝连接后仍然能连接成功的BUG 2023-09-10 14:01:06 +08:00
4558110af9
为ServerSocket添加UserList 2023-09-10 13:55:16 +08:00
c6c084c020
GetRoom返回非null 2023-09-10 02:10:57 +08:00
a74ff63d8e
使ModelManager成为支持泛型的工具类 2023-09-09 21:24:45 +08:00
9a59798543
将保存的Clients都转为小写name 2023-09-09 21:22:43 +08:00
64d2619281
设置为引用模式 2023-09-09 16:21:24 +08:00
3c5dc29491
BeforeConnect添加参数 2023-09-09 16:16:30 +08:00
ec5e34a356
删除ip和port的二次验证 2023-09-09 16:09:20 +08:00
67ce75c5be
修改属性名 2023-09-09 15:55:56 +08:00
milimoe
3825780bd4
提供底层Connect和Disconnect (#52) 2023-09-09 00:20:54 +08:00
e4aef07792
为TaskAwaiter传入异常参数方便处理异常 2023-09-08 19:18:59 +08:00
1c4e796f09
添加缺少的SocketMessageHandler 2023-09-05 20:28:38 +08:00
milimoe
b9bce652f8
添加 SocketType: Chat, UpdateRoomMaster 2023-09-03 01:16:07 +08:00
milimoe
930dbbacaa
添加 Main_Chat 2023-09-02 21:31:58 +08:00
milimoe
936b52f581
添加 Main_Chat 2023-09-02 21:30:15 +08:00
milimoe
7c272cdd29
添加 Main_Chat 2023-09-02 21:28:45 +08:00
milimoe
b9d9932ac2
明显区分Socket和DataRequest (#50)
* 明显区分Socket和DataRequest

* 删除了SocketHandler_Connect方法
2023-08-31 19:40:06 +08:00
milimoe
a814997a4a
为TaskAwaiter添加异常捕获和OnError事件 (#49) 2023-08-26 13:22:01 +08:00
820111e048
Add AddConverters Method 2023-08-04 21:53:24 +08:00
milimoe
0f2d44e2f6
Add JsonTool (#48)
* Add JsonTools

* Remove JsonManager.AddConverter
2023-08-02 09:16:19 +08:00
milimoe
2a1a85e338
remove user's password (#47) 2023-07-30 02:48:47 +08:00
ca052f1d31
Add RunTimer Utility Method 2023-07-28 00:47:13 +08:00
milimoe
9fb45dc502
向Utility添加更多Json相关方法 (#45) 2023-07-27 09:10:29 +08:00
milimoe
9631267010
为ReadPropertyName方法添加JsonSerializerOptions (#44)
* 为ReadPropertyName方法添加JsonSerializerOptions

* 添加reader.read();

---------

Co-authored-by: Yezi <53083103+yeziuku@users.noreply.github.com>
2023-07-25 09:16:23 +08:00
milimoe
20926ebb09
添加TaskAwaiter;添加DataRequest枚举 (#43) 2023-07-20 09:33:24 +08:00
98367f89e2
delete static 2023-07-18 21:45:20 +08:00
milimoe
9c0f742f00
DataRequest:添加长运行模式和关闭事件 (#41)
* DataRequest:添加长运行模式和关闭事件

* Update SocketHandlerController.cs

---------

Co-authored-by: Yezi <53083103+yeziuku@users.noreply.github.com>
2023-07-18 00:14:01 +08:00
1cce3d12ab
添加参数 2023-07-16 17:27:57 +08:00
6f8d4b43f1
RunTime添加抽象方法 2023-07-16 17:01:32 +08:00