Ejemplo n.º 1
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize <Request1005Pack>(data);
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
 protected override void SetUrlElement()
 {
     req          = new Request1005Pack();
     req.token    = "06433cd6e21d45f79a95c8e2ac9027c1-9d56aacb28bda0b9457bf9079bc715d9-20141222181929-ce629633cfaaf2bb1681719fc9b1f1ac-3b2927c8419cda02063bb7180deeb67a-f7ee2d74e5adcb026d457c2f7caee153";
     req.typeUser = "******";
     req.version  = "1.08";
     req.UserID   = 1160518;
     if (isUseConfigData())
     {
         setConfigData(req);
     }
     byte[] data = ProtoBufUtils.Serialize(req);
     netWriter.SetBodyData(data);
 }