Implement BossPvP logic (I implemented this based on undownding's code. Thank you!)

This commit is contained in:
Kei-Luna
2026-05-19 17:35:08 +09:00
parent 9a9ae13da0
commit cfca2f970c
13 changed files with 668 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
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 BossPvpShared.HandleGetOpenIdAsync(connection);
await CallGSRouter.SendScript(connection, "BossPvpLogic_GetOpenID", System.Text.Json.JsonSerializer.Serialize(response), sync);
}
}