コード例 #1
0
ファイル: Action1012.cs プロジェクト: guccang/scutlogic
 public override bool GetUrlElement()
 {
     byte[] data = (byte[])actionGetter.GetMessage();
     if (data.Length > 0)
     {
         requestPack = ProtoBufUtils.Deserialize<Request1012Pack>(data);
         return true;
     }
     return false;
 }
コード例 #2
0
ファイル: Step1012.cs プロジェクト: guccang/autoTest
 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);
 }