mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
Initial commit
This commit is contained in:
25
nksrv/LobbyServer/Msgs/Team/ListSupportCharacterCount.cs
Normal file
25
nksrv/LobbyServer/Msgs/Team/ListSupportCharacterCount.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using nksrv.Utils;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace nksrv.LobbyServer.Msgs.Team
|
||||
{
|
||||
[PacketPath("/team/support-character/list-used-count")]
|
||||
public class ListSupportCharacterCount : LobbyMsgHandler
|
||||
{
|
||||
protected override async Task HandleAsync()
|
||||
{
|
||||
var req = await ReadData<ReqListSupportCharacterUsedCount>();
|
||||
|
||||
var response = new ResListSupportCharacterUsedCount();
|
||||
foreach (var item in req.TeamTypeList)
|
||||
{
|
||||
Console.WriteLine("support character used: " + item);
|
||||
}
|
||||
WriteData(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user