protected override bool DecodePacket(MessageStructure reader, MessageHead head) { responsePack = ProtoBufUtils.Deserialize<Response1003Pack>(netReader.Buffer); string responseDataInfo = ""; responseDataInfo = "request :" + Game.Utils.JsonHelper.prettyJson<Request1003Pack>(req) + "\n"; responseDataInfo += "response:" + Game.Utils.JsonHelper.prettyJson<Response1003Pack>(responsePack) + "\n"; DecodePacketInfo = responseDataInfo; return true; }
public Action1003(ActionGetter actionGetter) : base(1003, actionGetter) { responsePack = new Response1003Pack(); }