protected override bool DecodePacket(MessageStructure reader, MessageHead head) { responsePack = ProtoBufUtils.Deserialize <Response1008Pack>(netReader.Buffer); string responseDataInfo = ""; responseDataInfo = "request :" + Game.Utils.JsonHelper.prettyJson <Request1008Pack>(req) + "\n"; responseDataInfo += "response:" + Game.Utils.JsonHelper.prettyJson <Response1008Pack>(responsePack) + "\n"; DecodePacketInfo = responseDataInfo; int chidId = getChild(1008); if (chidId > 0) { Dictionary <string, string> dic = new Dictionary <string, string>(); dic.Add("the3rdUserID", req.the3rdUserID.ToString()); SetChildStep(chidId.ToString(), _setting, dic); } return(true); }
public Action1008(ActionGetter actionGetter) : base(1008, actionGetter) { responsePack = new Response1008Pack(); }