thewar_server/Server/Service/BuyShopGacha.cs

44 lines
868 B
C#

using Server.System;
using Newtonsoft.Json;
namespace Server.Service
{
public class BuyShopGacha : AbstractService
{
private BuyShopGachaReq req;
public override string Process()
{
return makeResp();
}
public override Protocol ProtocolValue() => Protocol.BuyShopGacha;
public override Req Requst(string json)
{
req = JsonConvert.DeserializeObject<BuyShopGachaReq>(json);
return req;
}
private string makeResp()
{
BuyShopGachaResp resp = new BuyShopGachaResp();
return resp.ToJson();
}
}
public class BuyShopGachaReq : Req
{
public override bool IsReceivedAllField()
{
return true;
}
}
public class BuyShopGachaResp : Resp
{
}
}