コード例 #1
0
        /// <summary>
        ///  ルームを削除<br />
        /// </summary>
        ///
        /// <returns>IEnumerator</returns>
        /// <param name="callback">コールバックハンドラ</param>
        /// <param name="request">リクエストパラメータ</param>
        public IEnumerator DeleteRoom(
            Request.DeleteRoomRequest request,
            UnityAction <AsyncResult <Result.DeleteRoomResult> > callback
            )
        {
            var task = new DeleteRoomTask(request, callback);

            return(Gs2WebSocketSession.Execute(task));
        }
コード例 #2
0
 public DeleteRoomTask(Request.DeleteRoomRequest request, UnityAction <AsyncResult <Result.DeleteRoomResult> > userCallback) : base(userCallback)
 {
     _request = request;
 }