コード例 #1
0
            private Ice.AsyncResult <Callback_IRoleMaster_SetProperty> begin_SetProperty(MasterProperty iceP_property, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IRoleMaster_SetProperty, object>(
                    (Callback_IRoleMaster_SetProperty cb, object ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke();
                    }
                },
                    this, _SetProperty_name, cookie, completedCallback);

                _iceI_SetProperty(iceP_property, context, synchronous, completed);
                return(completed);
            }
コード例 #2
0
ファイル: Zone.cs プロジェクト: rovesky/FootStoneProtocol
            private Ice.AsyncResult <Callback_IZone_Move> begin_Move(byte[] iceP_data, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IZone_Move, object>(
                    (Callback_IZone_Move cb, object ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke();
                    }
                },
                    this, _Move_name, cookie, completedCallback);

                _iceI_Move(iceP_data, context, synchronous, completed);
                return(completed);
            }
コード例 #3
0
        private Ice.AsyncResult <Demo.Callback_CallbackSender_initiateCallback> begin_initiateCallback(Demo.CallbackReceiverPrx iceP_proxy, string iceP_message, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
        {
            var completed = new IceInternal.OperationAsyncResultCompletionCallback <Demo.Callback_CallbackSender_initiateCallback, object>(
                (Demo.Callback_CallbackSender_initiateCallback cb, object ret) =>
            {
                if (cb != null)
                {
                    cb.Invoke();
                }
            },
                this, _initiateCallback_name, cookie, completedCallback);

            _iceI_initiateCallback(iceP_proxy, iceP_message, context, synchronous, completed);
            return(completed);
        }
コード例 #4
0
            private Ice.AsyncResult <Callback_IRoleMaster_GetProperty> begin_GetProperty(_System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_GetProperty_name);
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IRoleMaster_GetProperty, MasterProperty>(
                    (Callback_IRoleMaster_GetProperty cb, MasterProperty ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _GetProperty_name, cookie, completedCallback);

                _iceI_GetProperty(context, synchronous, completed);
                return(completed);
            }
コード例 #5
0
ファイル: IPlayerCo.cs プロジェクト: luke163/mmodemo
            private Ice.AsyncResult <Callback_IPlayerCo_RegOrLoginReq> begin_RegOrLoginReq(string iceP_account, string iceP_pwd, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_RegOrLoginReq_name);
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IPlayerCo_RegOrLoginReq, RLResultRes>(
                    (Callback_IPlayerCo_RegOrLoginReq cb, RLResultRes ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _RegOrLoginReq_name, cookie, completedCallback);

                _iceI_RegOrLoginReq(iceP_account, iceP_pwd, context, synchronous, completed);
                return(completed);
            }
コード例 #6
0
ファイル: IPlayerCo.cs プロジェクト: luke163/mmodemo
            private Ice.AsyncResult <Callback_IPlayerCo_JoinSceneReq> begin_JoinSceneReq(byte iceP_sceneid, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_JoinSceneReq_name);
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IPlayerCo_JoinSceneReq, bool>(
                    (Callback_IPlayerCo_JoinSceneReq cb, bool ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _JoinSceneReq_name, cookie, completedCallback);

                _iceI_JoinSceneReq(iceP_sceneid, context, synchronous, completed);
                return(completed);
            }
コード例 #7
0
ファイル: Zone.cs プロジェクト: rovesky/FootStoneProtocol
            private Ice.AsyncResult <Callback_IZone_PlayerEnter> begin_PlayerEnter(string iceP_zoneId, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_PlayerEnter_name);
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IZone_PlayerEnter, EndPointZone>(
                    (Callback_IZone_PlayerEnter cb, EndPointZone ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _PlayerEnter_name, cookie, completedCallback);

                _iceI_PlayerEnter(iceP_zoneId, context, synchronous, completed);
                return(completed);
            }
コード例 #8
0
ファイル: Account.cs プロジェクト: rovesky/Kitchen_Client
            private Ice.AsyncResult <Callback_IAccount_LoginRequest> begin_LoginRequest(string iceP_account, string iceP_pwd, _System.Collections.Generic.Dictionary <string, string> context, Ice.AsyncCallback completedCallback, object cookie, bool synchronous)
            {
                iceCheckAsyncTwowayOnly(_LoginRequest_name);
                var completed = new IceInternal.OperationAsyncResultCompletionCallback <Callback_IAccount_LoginRequest, LoginInfo>(
                    (Callback_IAccount_LoginRequest cb, LoginInfo ret) =>
                {
                    if (cb != null)
                    {
                        cb.Invoke(ret);
                    }
                },
                    this, _LoginRequest_name, cookie, completedCallback);

                _iceI_LoginRequest(iceP_account, iceP_pwd, context, synchronous, completed);
                return(completed);
            }