Exemple #1
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize<Request1002Pack>(data);
         return true;
     }
     return false;
 }
Exemple #2
0
 protected override void SetUrlElement()
 {
     System.Console.WriteLine("Step1002");
     int index = RandomUtils.GetRandom(0, 2) ;
     req = new Request1002Pack();
     req.Version = "1.09";
     if(isUseConfigData())
     {
         setConfigData(req);
     }
     byte[] data = ProtoBufUtils.Serialize(req);
     netWriter.SetBodyData(data);
 }