WutheringWaves/GameServer/Handlers/WorldMapMessageHandler.cs

19 lines
527 B
C#
Raw Normal View History

2024-02-09 09:20:14 +00:00
using GameServer.Handlers.Attributes;
using GameServer.Network;
using Protocol;
namespace GameServer.Handlers;
internal class WorldMapMessageHandler : MessageHandlerBase
{
public WorldMapMessageHandler(KcpSession session) : base(session)
{
// WorldMapMessageHandler.
}
[MessageHandler(MessageId.MapTraceInfoRequest)]
public async Task OnMapTraceInfoRequest(ReadOnlyMemory<byte> _)
{
await Session.Rpc.ReturnAsync(MessageId.MapTraceInfoResponse, new MapTraceInfoResponse());
}
}