新增相关协议
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
// 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;
|
||||
// }
|
||||
// }
|
||||
Reference in New Issue
Block a user