WutheringWaves/GameServer/Handlers/InfluenceReputationMessageHandler.cs

18 lines
564 B
C#

using GameServer.Handlers.Attributes;
using GameServer.Network;
using Protocol;
namespace GameServer.Handlers;
internal class InfluenceReputationMessageHandler : MessageHandlerBase
{
public InfluenceReputationMessageHandler(KcpSession session) : base(session)
{
// InfluenceReputationMessageHandler.
}
[MessageHandler(MessageId.InfluenceInfoRequest)]
public async Task OnInfluenceInfoRequest(ReadOnlyMemory<byte> _)
{
await Session.Rpc.ReturnAsync(MessageId.InfluenceInfoResponse, new InfluenceInfoResponse());
}
}