Beispiel #1
0
            private _System.Threading.Tasks.Task _iceI_MoveAsync(byte[] iceP_data, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                var completed = new IceInternal.OperationTaskCompletionCallback <object>(progress, cancel);

                _iceI_Move(iceP_data, context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #2
0
 public EndPointZone PlayerEnter(string zoneId, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         return(_iceI_PlayerEnterAsync(zoneId, context, null, _System.Threading.CancellationToken.None, true).Result);
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #3
0
 public void Move(byte[] data, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         _iceI_MoveAsync(data, context, null, _System.Threading.CancellationToken.None, true).Wait();
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #4
0
 public RLResultRes RegOrLoginReq(string account, string pwd, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         return(_iceI_RegOrLoginReqAsync(account, pwd, context, null, _System.Threading.CancellationToken.None, true).Result);
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
 public MasterProperty GetProperty(Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         return(_iceI_GetPropertyAsync(context, null, _System.Threading.CancellationToken.None, true).Result);
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
 public void SetProperty(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         _iceI_SetPropertyAsync(property, context, null, _System.Threading.CancellationToken.None, true).Wait();
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #7
0
 public void initiateCallback(Demo.CallbackReceiverPrx proxy, string message, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         _iceI_initiateCallbackAsync(proxy, message, context, null, _System.Threading.CancellationToken.None, true).Wait();
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #8
0
 public void callback(string messageCallback, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         _iceI_callbackAsync(messageCallback, context, null, _System.Threading.CancellationToken.None, true).Wait();
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #9
0
 public bool JoinSceneReq(byte sceneid, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     try
     {
         return(_iceI_JoinSceneReqAsync(sceneid, context, null, _System.Threading.CancellationToken.None, true).Result);
     }
     catch (_System.AggregateException ex_)
     {
         throw ex_.InnerException;
     }
 }
Beispiel #10
0
 public Ice.AsyncResult <Callback_IPlayerCo_RegOrLoginReq> begin_RegOrLoginReq(string account, string pwd, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_RegOrLoginReq(account, pwd, context, null, null, false));
 }
Beispiel #11
0
 public Ice.AsyncResult begin_JoinSceneReq(byte sceneid, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_JoinSceneReq(sceneid, context, callback, cookie, false));
 }
Beispiel #12
0
 public Ice.AsyncResult <Callback_IPlayerCo_JoinSceneReq> begin_JoinSceneReq(byte sceneid, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_JoinSceneReq(sceneid, context, null, null, false));
 }
Beispiel #13
0
            private _System.Threading.Tasks.Task <RLResultRes> _iceI_RegOrLoginReqAsync(string iceP_account, string iceP_pwd, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                iceCheckTwowayOnly(_RegOrLoginReq_name);
                var completed = new IceInternal.OperationTaskCompletionCallback <RLResultRes>(progress, cancel);

                _iceI_RegOrLoginReq(iceP_account, iceP_pwd, context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #14
0
            private _System.Threading.Tasks.Task <EndPointZone> _iceI_PlayerEnterAsync(string iceP_zoneId, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                iceCheckTwowayOnly(_PlayerEnter_name);
                var completed = new IceInternal.OperationTaskCompletionCallback <EndPointZone>(progress, cancel);

                _iceI_PlayerEnter(iceP_zoneId, context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #15
0
 public Ice.AsyncResult <Callback_IRoleMasterPush_PropertyChanged> begin_PropertyChanged(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_PropertyChanged(property, context, null, null, false));
 }
Beispiel #16
0
 public Ice.AsyncResult begin_PlayerEnter(string zoneId, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_PlayerEnter(zoneId, context, callback, cookie, false));
 }
Beispiel #17
0
 public Ice.AsyncResult <Callback_IZone_PlayerEnter> begin_PlayerEnter(string zoneId, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_PlayerEnter(zoneId, context, null, null, false));
 }
Beispiel #18
0
 public Ice.AsyncResult begin_Move(byte[] data, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_Move(data, context, callback, cookie, false));
 }
Beispiel #19
0
 public Ice.AsyncResult <Callback_IZone_Move> begin_Move(byte[] data, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_Move(data, context, null, null, false));
 }
Beispiel #20
0
 public Ice.AsyncResult begin_RegOrLoginReq(string account, string pwd, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_RegOrLoginReq(account, pwd, context, callback, cookie, false));
 }
Beispiel #21
0
            private _System.Threading.Tasks.Task _iceI_PropertyChangedAsync(MasterProperty iceP_property, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                var completed = new IceInternal.OperationTaskCompletionCallback <object>(progress, cancel);

                _iceI_PropertyChanged(iceP_property, context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #22
0
 public _System.Threading.Tasks.Task SetPropertyAsync(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken())
 {
     return(_iceI_SetPropertyAsync(property, context, progress, cancel, false));
 }
Beispiel #23
0
 public Ice.AsyncResult <Callback_IRoleMaster_SetProperty> begin_SetProperty(MasterProperty property, Ice.OptionalContext context = new Ice.OptionalContext())
 {
     return(begin_SetProperty(property, context, null, null, false));
 }
Beispiel #24
0
 public _System.Threading.Tasks.Task <EndPointZone> PlayerEnterAsync(string zoneId, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken())
 {
     return(_iceI_PlayerEnterAsync(zoneId, context, progress, cancel, false));
 }
Beispiel #25
0
            private _System.Threading.Tasks.Task <MasterProperty> _iceI_GetPropertyAsync(Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                iceCheckTwowayOnly(_GetProperty_name);
                var completed = new IceInternal.OperationTaskCompletionCallback <MasterProperty>(progress, cancel);

                _iceI_GetProperty(context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #26
0
 public _System.Threading.Tasks.Task <bool> JoinSceneReqAsync(byte sceneid, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken())
 {
     return(_iceI_JoinSceneReqAsync(sceneid, context, progress, cancel, false));
 }
Beispiel #27
0
 public Ice.AsyncResult begin_GetProperty(Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_GetProperty(context, callback, cookie, false));
 }
Beispiel #28
0
            private _System.Threading.Tasks.Task <bool> _iceI_JoinSceneReqAsync(byte iceP_sceneid, Ice.OptionalContext context, _System.IProgress <bool> progress, _System.Threading.CancellationToken cancel, bool synchronous)
            {
                iceCheckTwowayOnly(_JoinSceneReq_name);
                var completed = new IceInternal.OperationTaskCompletionCallback <bool>(progress, cancel);

                _iceI_JoinSceneReq(iceP_sceneid, context, synchronous, completed);
                return(completed.Task);
            }
Beispiel #29
0
 public Ice.AsyncResult begin_SetProperty(MasterProperty property, Ice.OptionalContext context, Ice.AsyncCallback callback, object cookie)
 {
     return(begin_SetProperty(property, context, callback, cookie, false));
 }
Beispiel #30
0
 public _System.Threading.Tasks.Task <RLResultRes> RegOrLoginReqAsync(string account, string pwd, Ice.OptionalContext context = new Ice.OptionalContext(), _System.IProgress <bool> progress = null, _System.Threading.CancellationToken cancel = new _System.Threading.CancellationToken())
 {
     return(_iceI_RegOrLoginReqAsync(account, pwd, context, progress, cancel, false));
 }