예제 #1
0
        /// <summary>
        ///  発生したイベントの一覧を取得<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DescribeEvents(
            Request.DescribeEventsRequest request,
            UnityAction <AsyncResult <Result.DescribeEventsResult> > callback
            )
        {
            var task = new DescribeEventsTask(request, callback);

            return(Gs2RestSession.Execute(task));
        }
예제 #2
0
        /// <summary>
        ///  発生したイベントの一覧を取得<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DescribeEvents(
            Request.DescribeEventsRequest request,
            UnityAction <AsyncResult <Result.DescribeEventsResult> > callback
            )
        {
            var task = new DescribeEventsTask(request, callback);

            if (_certificateHandler != null)
            {
                task.UnityWebRequest.certificateHandler = _certificateHandler;
            }
            return(Gs2RestSession.Execute(task));
        }
예제 #3
0
 public DescribeEventsTask(Request.DescribeEventsRequest request, UnityAction <AsyncResult <Result.DescribeEventsResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }