mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-16 17:04:44 +01:00
add additional messages
This commit is contained in:
25
nksrv/LobbyServer/Msgs/Shop/GetShop.cs
Normal file
25
nksrv/LobbyServer/Msgs/Shop/GetShop.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using nksrv.Net;
|
||||
using nksrv.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace nksrv.LobbyServer.Msgs.Shop
|
||||
{
|
||||
[PacketPath("/shop/get")]
|
||||
public class GetShop : LobbyMsgHandler
|
||||
{
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
var x = await ReadData<GetShopRequest>();
|
||||
|
||||
var response = new GetShopResponse();
|
||||
|
||||
// TODO
|
||||
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user