协议提交

This commit is contained in:
2025-08-11 16:29:23 +08:00
parent 7a93c0f8f1
commit 9b95f48102
14 changed files with 71 additions and 35 deletions

View File

@@ -1,4 +1,5 @@
using Fantasy;
using System.Text;
using Fantasy;
using Fantasy.Async;
using Fantasy.Network.Interface;
@@ -10,7 +11,10 @@ public sealed class
protected override async FTask Run(ChatUnit chatUnit, C2Chat_SendMessageRequest request,
Caht2C_SendMessageResponse response, Action reply)
{
// ChatSceneHelper.Broadcast(chatUnit.Scene, request.Message);
ChatSceneHelper.Broadcast(chatUnit.Scene, new ChatMessageInfo()
{
Content = request.Message,
});
await FTask.CompletedTask;
}
}