unlock more stage for operation

This commit is contained in:
Naruse
2026-04-29 00:47:21 +08:00
parent ee79486748
commit 5af23a8113
5 changed files with 111 additions and 29 deletions

View File

@@ -0,0 +1,26 @@
using System.Text.Json;
namespace MikuSB.GameServer.Server.CallGS.Handlers.Daily;
[CallGSApi("Daily_SetSelectSuit")]
public class Daily_SetSelectSuit : ICallGSHandler
{
public async Task Handle(Connection connection, string param, ushort seqNo)
{
var req = JsonSerializer.Deserialize<GirlWeaponSkinParam>(param);
if (req == null)
{
await CallGSRouter.SendScript(connection, "GirlWeaponSkin_Change", "{}");
return;
}
var rsp = $"{{\"SuitId\":{req.Suit}}}";
await CallGSRouter.SendScript(connection, "Daily_SetSelectSuit", rsp);
}
}
internal sealed class GirlWeaponSkinParam
{
public uint Type { get; set; }
public uint Suit { get; set; }
}