Exemple #1
0
        /// <summary>
        ///  暗号鍵を取得します<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator GetKey(
            Request.GetKeyRequest request,
            UnityAction <AsyncResult <Result.GetKeyResult> > callback
            )
        {
            var task = new GetKeyTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
Exemple #2
0
 public GetKeyTask(Request.GetKeyRequest request, UnityAction <AsyncResult <Result.GetKeyResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }