Exemple #1
0
 protected override void SetUrlElement()
 {
     Action3000Request req = new Action3000Request();
     req.type = 1;
     byte[] data = ProtoBufUtils.Serialize(req);
     netWriter.SetBodyData(data);
 }
Exemple #2
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize<Action3000Request>(data);
         return true;
     }
     return false;
 }