/// <summary> /// ユーザIDを指定してミューテックスを解放<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator UnlockByUserId( Request.UnlockByUserIdRequest request, UnityAction <AsyncResult <Result.UnlockByUserIdResult> > callback ) { var task = new UnlockByUserIdTask(request, callback); return(Gs2WebSocketSession.Execute(task)); }
/// <summary> /// ユーザIDを指定してミューテックスを解放<br /> /// </summary> /// /// <returns>IEnumerator</returns> /// <param name="callback">コールバックハンドラ</param> /// <param name="request">リクエストパラメータ</param> public IEnumerator UnlockByUserId( Request.UnlockByUserIdRequest request, UnityAction <AsyncResult <Result.UnlockByUserIdResult> > callback ) { var task = new UnlockByUserIdTask(request, callback); if (_certificateHandler != null) { task.UnityWebRequest.certificateHandler = _certificateHandler; } return(Gs2RestSession.Execute(task)); }
public UnlockByUserIdTask(Request.UnlockByUserIdRequest request, UnityAction <AsyncResult <Result.UnlockByUserIdResult> > userCallback) : base(userCallback) { _request = request; }