修改了无法添加基础节点的bug,增加WebSocket JSON ID字段,远程环境交互使用消息ID作为响应key。

This commit is contained in:
fengjiayi
2024-10-22 00:13:13 +08:00
parent 838158f446
commit 0a7e24d318
48 changed files with 1209 additions and 500 deletions

View File

@@ -27,6 +27,7 @@ namespace Serein.Library.Network.WebSocketCommunication
{
public string ThemeKey;
public string DataKey;
public string MsgIdKey;
}
@@ -71,13 +72,19 @@ namespace Serein.Library.Network.WebSocketCommunication
}
/// <summary>
/// 使用消息DataKey整体数据
/// 使用 DataKey 整体数据
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class UseMsgDataAttribute : Attribute
public sealed class UseDataAttribute : Attribute
{
}
/// <summary>
/// 使用 MsgIdKey 整体数据
/// </summary>
[AttributeUsage(AttributeTargets.Parameter)]
public sealed class UseMsgIdAttribute : Attribute
{
}
internal class SocketHandleModule
{