266 Commits

Author SHA1 Message Date
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
ba681814eb
修改Dispose()调用位置 2023-07-16 16:57:41 +08:00
8db6fd0512
仅使用Controller,删除重复的Model;修改EventArgs的构造方法 2023-07-16 00:41:36 +08:00
ea682b90ff
项目结构调整 2023-07-14 21:12:14 +08:00
4664bfbc29
优化AsyncAwaiter和SocketHandler 2023-07-13 01:03:58 +08:00
milimoe
3614747433
支持DataRequest.SendRequest异步 (#39) 2023-07-12 12:04:36 +08:00
821b43f76f
Light -> Bright 2023-07-10 23:18:24 +08:00
85bfa3ba4c
修改Set字符串常量内容 2023-07-05 19:41:26 +08:00
milimoe
247090341f
找回密码 第二部分 (#37)
* 常量更新

* 添加枚举:Login_UpdatePassword

* 添加Hashtable反序列化方法

Server那边没有Request对象

---------

Co-authored-by: Yezi <53083103+yeziuku@users.noreply.github.com>
2023-06-30 13:56:23 +08:00
milimoe
5a63b97341
添加Hashtable中Json对象的反序列化工具方法 (#36)
* 添加Hashtable中Json对象的反序列化工具方法

* ErrorType -> ErrorIPAddressType

* 新增房间状态:Matching
2023-06-28 00:58:52 +08:00
Yezi
ae4f8aa7aa
GetResult<T>可以直接返回JsonManager.GetObject (#34) 2023-06-24 01:34:16 +08:00
milimoe
5e3767036f
Extend MailServices (#35) 2023-06-24 01:33:40 +08:00
milimoe
b4ce65a35b
更新 DataRequest, RunTime, GameMode; 添加 FunGameConfig (#33)
* 更新DataRequest GetResult<T>

* 更新了DataRequest的构造方法,以及RunTime类

* 更新RunTime控制器

* 从Desktop复制Config到Core;更新常量

* 添加GameMode
2023-06-19 09:07:20 +08:00
milimoe
42d0ca61c5
更新自定义转换器和实体工厂方法 (#32) 2023-06-12 10:44:31 +08:00
milimoe
d25dd8d2e3
添加自定义 Converter (#31)
* 添加DataTable Converter

* 修改DataSet Converter,支持多个Tables反序列化,此转换器也支持兼容DataTable

* 修改构造方法、工厂方法,添加常用类自定义转换器
2023-06-10 01:01:45 +08:00
Yezi
549055a0e8
防止Tables为空时索引下标越界 (#30) 2023-06-07 10:16:26 +08:00
Yezi
133fef14d7
Update DataRequest Setter (#28)
* Update DataRequest Setter

* Fixed some json bug (#29)

* JsonManager应是internal的

---------

Co-authored-by: milimoe <110188673+milimoe@users.noreply.github.com>
2023-06-05 00:31:45 +08:00
milimoe
23c9ade79e
拥抱System.Text.Json (#27)
* 添加适用于DataSet和DateTime的JSON自定义转换器。

* 添加JsonManager,删除JsonObject并仅使用SocketObject

* 移除Newtonsoft.Json引用
2023-06-03 18:57:24 +08:00
Yezi
e90d7b075a
删除多余字符 (#26) 2023-05-30 19:51:11 +08:00
milimoe
372c7e2495
Add ForgetPassword Query and Update SendRequest (#25)
* 为SendRequest添加返回值

* 添加ForgetPassword相关表和查询
2023-05-27 16:07:20 +08:00
milimoe
3eda4b8167
Update DataRequest And Socket MISC. (#24)
* Update DataRequest And Socket MISC.

* Delete unused code
2023-05-23 09:22:02 +08:00
milimoe
185fea4b40
Add Club (#23) 2023-05-21 14:02:18 +08:00
milimoe
d7609de7f6
添加DataRequest返回结果 (#22)
* Add DataRequest Result Table

* Delete Unused ConcurrentQueue
2023-05-17 11:07:52 +08:00
milimoe
7a6819e92a
登录不区分用户名大小写 (#21) 2023-05-08 22:16:48 +08:00
milimoe
267bb162a1
Update Controllers And Models (#18) 2023-04-23 01:25:16 +08:00
milimoe
b08d62d6f8
Fixed #15 (#17)
* Fix #15; Start to Rebuild Architecture.

* Fixed #15
2023-04-21 01:06:23 +08:00
milimoe
ecdb321eb6
Fix #15; Start to Rebuild Architecture. (#16) 2023-04-18 20:28:05 +08:00
milimoe
e1c3f7cce1
Add UpdateRoomMaster; Update RoomList, Constants. (#14)
* Add UpdateRoomMaster, DissolveRoom; Update RoomList; Update MISC.

* Update RoomList, Constants
2023-04-16 12:59:46 +08:00
milimoe
690e4c34dc
Create dotnet.yml (#13) 2023-04-14 11:55:44 +08:00
milimoe
f2107ba530
更新RoomList,更新Entity类,更新Factory (#12) 2023-04-13 21:36:25 +08:00
milimoe
c9a7ea88b2
移动Library.Server到Library.Common.Architecture (#11)
* 移动Library.Server到Library.Common.Architecture
2023-04-10 00:44:59 +08:00
milimoe
01ba44fab6
更新Room相关的参数、常数设定 (#9)
* 修改部分常量和添加Room相关的SQLScript

* 更新Room相关的参数、常数设定
2023-04-06 23:57:36 +08:00
Yezi
afeccc1b9a
Update EventArgs e (#8)
为接口方法修改参数的类名
2023-04-06 12:24:57 +08:00
milimoe
2a574bf8d6
修改部分常量和添加Room相关的SQLScript (#7) 2023-04-05 22:52:23 +08:00
milimoe
84cbedf1f6
Add CreateRoomException, ForceLogout and BaseMode.WaitForWorkDone() (#6) 2023-04-03 00:00:56 +08:00
Mili
08e3637623 Add ForceLogout 2023-04-02 19:20:20 +08:00
Mili
ea9008e908 Add CreateRoomException and BaseMode.WaitForWorkDone() 2023-04-02 12:14:18 +08:00
milimoe
6039b89241
Merge pull request #5 from milimoe/master
Server_Port应该是int类型
2023-04-01 21:19:27 +08:00
Mili
627c8e9900 Merge branch 'master' of https://github.com/milimoe/FunGame-Core 2023-04-01 21:16:50 +08:00