mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-05 02:53:58 +00:00
Implement BossPvP logic (I implemented this based on undownding's code. Thank you!)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace MikuSB.GameServer.Server.CallGS.Handlers.BossPvp;
|
||||
|
||||
[CallGSApi("BossPvpLogic_LevelMopup")]
|
||||
public class BossPvpLogic_LevelMopup : ICallGSHandler
|
||||
{
|
||||
public async Task Handle(Connection connection, string param, ushort seqNo)
|
||||
{
|
||||
var (response, sync) = BossPvpShared.HandleMopup(connection.Player!, param);
|
||||
await CallGSRouter.SendScript(connection, "BossPvpLogic_LevelMopup", System.Text.Json.JsonSerializer.Serialize(response), sync);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user