Exemplo n.º 1
0
        /// <summary>
        ///  データを復号します<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator Decrypt(
            Request.DecryptRequest request,
            UnityAction <AsyncResult <Result.DecryptResult> > callback
            )
        {
            var task = new DecryptTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
Exemplo n.º 2
0
 public DecryptTask(Request.DecryptRequest request, UnityAction <AsyncResult <Result.DecryptResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }