Added several CallGS handlers.

This commit is contained in:
Kei-Luna
2026-04-22 06:03:42 +09:00
parent 2a961704a8
commit 1c2a43fa61
12 changed files with 124 additions and 4 deletions

View File

@@ -0,0 +1,13 @@
namespace MikuSB.GameServer.Server.CallGS.Handlers.Shop;
// Returns the open/close timestamps for each shop tab.
// Response: {shopId: {nBegin, nEnd}}
[CallGSApi("ShopLogic_GetOpenTime")]
public class ShopLogic_GetOpenTime : ICallGSHandler
{
public async Task Handle(Connection connection, string param, ushort seqNo)
{
// TODO: return actual shop open times from config
await CallGSRouter.SendScript(connection, "ShopLogic_GetOpenTime", "{}", seqNo);
}
}