WutheringWaves/GameServer/Handlers/ExchangeRewardMessageHandler.cs

19 lines
569 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 ExchangeRewardMessageHandler : MessageHandlerBase
{
public ExchangeRewardMessageHandler(KcpSession session) : base(session)
{
// ExchangeRewardMessageHandler.
}
[MessageHandler(MessageId.ExchangeRewardInfoRequest)]
public async Task OnExchangeRewardInfoRequest(ReadOnlyMemory<byte> _)
{
await Session.Rpc.ReturnAsync(MessageId.ExchangeRewardInfoResponse, new ExchangeRewardInfoResponse());
}
}