示例#1
0
        /// <summary>
        ///  ネームスペースを新規作成<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator CreateNamespace(
            Request.CreateNamespaceRequest request,
            UnityAction <AsyncResult <Result.CreateNamespaceResult> > callback
            )
        {
            var task = new CreateNamespaceTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
示例#2
0
        /// <summary>
        ///  ネームスペースを新規作成<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator CreateNamespace(
            Request.CreateNamespaceRequest request,
            UnityAction <AsyncResult <Result.CreateNamespaceResult> > callback
            )
        {
            var task = new CreateNamespaceTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
示例#3
0
 public CreateNamespaceTask(Request.CreateNamespaceRequest request, UnityAction <AsyncResult <Result.CreateNamespaceResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }