/// <summary> /// お知らせ記事の一覧を取得<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator DescribeNews( Request.DescribeNewsRequest request, UnityAction <AsyncResult <Result.DescribeNewsResult> > callback ) { var task = new DescribeNewsTask(request, callback); if (_certificateHandler != null) { task.UnityWebRequest.certificateHandler = _certificateHandler; } return(Gs2RestSession.Execute(task)); }
public DescribeNewsTask(Request.DescribeNewsRequest request, UnityAction <AsyncResult <Result.DescribeNewsResult> > userCallback) : base(userCallback) { _request = request; }