mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-13 15:34:36 +01:00
22 lines
533 B
C#
22 lines
533 B
C#
using EpinelPS.Utils;
|
|
|
|
namespace EpinelPS.LobbyServer.Event
|
|
{
|
|
[PacketPath("/event/scenario/exist")]
|
|
public class CheckScenarioExists : LobbyMsgHandler
|
|
{
|
|
protected override async Task HandleAsync()
|
|
{
|
|
ReqExistEventScenario req = await ReadData<ReqExistEventScenario>();
|
|
|
|
ResExistEventScenario response = new();
|
|
|
|
foreach (string? item in req.ScenarioGroupIds)
|
|
response.ExistGroupIds.Add(item);
|
|
|
|
|
|
await WriteDataAsync(response);
|
|
}
|
|
}
|
|
}
|