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(json); return req; } private string makeResp() { BuyShopGachaResp resp = new BuyShopGachaResp(); resp.status = 200; return resp.ToJson(); } } public class BuyShopGachaReq : Req { public override bool IsReceivedAllField() { return true; } } public class BuyShopGachaResp : Resp { } }