WutheringWaves/GameServer/Handlers/FriendMessageHandler.cs

19 lines
512 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 FriendMessageHandler : MessageHandlerBase
{
2024-02-09 09:44:42 +00:00
public FriendMessageHandler(PlayerSession session) : base(session)
2024-02-09 09:20:14 +00:00
{
// FriendMessageHandler.
}
[MessageHandler(MessageId.FriendAllRequest)]
public async Task OnFriendAllRequest(ReadOnlyMemory<byte> _)
{
await Session.Rpc.ReturnAsync(MessageId.FriendAllResponse, new FriendAllResponse());
}
}