mirror of
https://github.com/MikuLeaks/MikuSB.git
synced 2026-06-04 11:43:57 +00:00
Added several CallGS handlers.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user