15 lines
480 B
C#
15 lines
480 B
C#
using Fantasy;
|
|
using Fantasy.Async;
|
|
using Fantasy.Network.Interface;
|
|
|
|
namespace NB.Map;
|
|
|
|
public class C2Map_CreateRoomRequestHandler : RouteRPC<Scene, C2Map_CreateRoomRequest, Map2C_CreateRoomResponse>
|
|
{
|
|
protected override async FTask Run(Scene entity, C2Map_CreateRoomRequest request, Map2C_CreateRoomResponse response,
|
|
Action reply)
|
|
{
|
|
Log.Info($"创建房间=== map:{request.MapId} pass:{request.Password}");
|
|
await FTask.CompletedTask;
|
|
}
|
|
} |