12 lines
403 B
C#
12 lines
403 B
C#
using Fantasy.Async;
|
|
using Fantasy.Network.Interface;
|
|
|
|
namespace Fantasy;
|
|
|
|
public class Other2Mail_SendRequestHandler : RouteRPC<Scene, Other2Mail_SendMailRequest, Mail2Other_SendMailResponse>
|
|
{
|
|
protected override async FTask Run(Scene scene, Other2Mail_SendMailRequest request, Mail2Other_SendMailResponse response, Action reply)
|
|
{
|
|
await MailHelper.Send(scene, request.MailBox);
|
|
}
|
|
} |