Ejemplo n.º 1
0
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize <Request1012Pack>(data);
         return(true);
     }
     return(false);
 }
Ejemplo n.º 2
0
        protected override void SetUrlElement()
        {
            int id = -357016106;

            req = new Request1012Pack();
            req.the3rdUserID = 5228;// KeyInt2Uint(id);
            byte[] data = ProtoBufUtils.Serialize(req);
            if (isUseConfigData())
            {
                setConfigData(req);
            }
            //System.Console.WriteLine(id + ":" + requestPack.the3rdUserID + ":" + KeyUInt2Int(requestPack.the3rdUserID));
            netWriter.SetBodyData(data);
        }