WutheringWaves/GameServer/Handlers/LordGymMessageHandler.cs

18 lines
523 B
C#

using GameServer.Handlers.Attributes;
using GameServer.Network;
using Protocol;
namespace GameServer.Handlers;
internal class LordGymMessageHandler : MessageHandlerBase
{
public LordGymMessageHandler(PlayerSession session) : base(session)
{
// LordGymMessageHandler.
}
[MessageHandler(MessageId.LordGymInfoRequest)]
public async Task OnLordGymInfoRequest(ReadOnlyMemory<byte> _)
{
await Session.Rpc.ReturnAsync(MessageId.LordGymInfoResponse, new LordGymInfoResponse());
}
}