mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 11:43:57 +00:00
14 lines
517 B
C#
14 lines
517 B
C#
using MikuSB.GameServer.Game.BossPvp;
|
|
|
|
namespace MikuSB.GameServer.Server.CallGS.Handlers.BossPvp;
|
|
|
|
[CallGSApi("BossPvpLogic_GetOpenID")]
|
|
public class BossPvpLogic_GetOpenID : ICallGSHandler
|
|
{
|
|
public async Task Handle(Connection connection, string param, ushort seqNo)
|
|
{
|
|
var (response, sync) = await BossPvpService.HandleGetOpenIdAsync(connection.Player!);
|
|
await CallGSRouter.SendScript(connection, "BossPvpLogic_GetOpenID", System.Text.Json.JsonSerializer.Serialize(response), sync);
|
|
}
|
|
}
|