using Fantasy; using Fantasy.Async; using Fantasy.Network.Interface; namespace NB.Chat; public sealed class C2Chat_SendMessageRequestHandler : AddressRPC { protected override async FTask Run(SocialUnit chatUnit, C2Chat_SendMessageRequest request, Chat2C_SendMessageResponse response, Action reply) { response.ErrorCode = ChatSceneHelper.Distribution(chatUnit, request.ChatInfoTree); await FTask.CompletedTask; } }