mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-22 20:04:45 +01:00
lobby ui works
This commit is contained in:
22
nksrv/LobbyServer/Msgs/Friend/GetFriends.cs
Normal file
22
nksrv/LobbyServer/Msgs/Friend/GetFriends.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using nksrv.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace nksrv.LobbyServer.Msgs.Friend
|
||||
{
|
||||
[PacketPath("/friend/get")]
|
||||
public class GetFriends : LobbyMsgHandler
|
||||
{
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
var req = await ReadData<ReqGetFriendData>();
|
||||
var response = new ResGetFriendData();
|
||||
|
||||
|
||||
WriteData(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user