Exemplo n.º 1
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize<Request1003Pack>(data);
         return true;
     }
     return false;
 }
Exemplo n.º 2
0
 protected override void SetUrlElement()
 {
     req = new Request1003Pack();
     req.code = "UY2SXTNKY";
     req.type = 56;
     req.index = 61;
     if(isUseConfigData())
     {
     }
     byte[] data = ProtoBufUtils.Serialize(req);
     netWriter.SetBodyData(data);
 }