Esempio n. 1
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize<Request1007Pack>(data);
         return true;
     }
     return false;
 }
Esempio n. 2
0
 protected override void SetUrlElement()
 {
     int id = -357016106;
     req = new Request1007Pack();
     req.the3rdUserID = 5228;// KeyInt2Uint(id);
     req.dateType = 1;
     if(isUseConfigData())
     {
         setConfigData(req);
     }
     byte[] data = ProtoBufUtils.Serialize(req);
     netWriter.SetBodyData(data);
 }