Пример #1
0
            private void _iceI_SetProperty(MasterProperty iceP_property, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <object>(completed);

                outAsync.invoke(
                    _SetProperty_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    iceP_property.ice_writeMembers(ostr);
                });
            }
Пример #2
0
            private void _iceI_RegOrLoginReq(string iceP_account, string iceP_pwd, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <RLResultRes>(completed);

                outAsync.invoke(
                    _RegOrLoginReq_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    ostr.writeString(iceP_account);
                    ostr.writeString(iceP_pwd);
                },
                    read: (Ice.InputStream istr) =>
                {
                    RLResultRes ret = null;
                    ret             = RLResultRes.ice_read(istr);
                    return(ret);
                });
            }
Пример #3
0
            private void _iceI_GetProperty(_System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <MasterProperty>(completed);

                outAsync.invoke(
                    _GetProperty_name,
                    Ice.OperationMode.Idempotent,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    read: (Ice.InputStream istr) =>
                {
                    MasterProperty ret = new MasterProperty();
                    ret.ice_readMembers(istr);
                    return(ret);
                });
            }
Пример #4
0
            private void _iceI_JoinSceneReq(byte iceP_sceneid, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <bool>(completed);

                outAsync.invoke(
                    _JoinSceneReq_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    ostr.writeByte(iceP_sceneid);
                },
                    read: (Ice.InputStream istr) =>
                {
                    bool ret;
                    ret = istr.readBool();
                    return(ret);
                });
            }
Пример #5
0
            private void _iceI_PlayerEnter(string iceP_zoneId, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <EndPointZone>(completed);

                outAsync.invoke(
                    _PlayerEnter_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    ostr.writeString(iceP_zoneId);
                },
                    read: (Ice.InputStream istr) =>
                {
                    EndPointZone ret = null;
                    ret = EndPointZone.ice_read(istr);
                    return(ret);
                });
            }
Пример #6
0
            private void _iceI_Move(byte[] iceP_data, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
            {
                var outAsync = getOutgoingAsync <object>(completed);

                outAsync.invoke(
                    _Move_name,
                    Ice.OperationMode.Normal,
                    Ice.FormatType.DefaultFormat,
                    context,
                    synchronous,
                    write: (Ice.OutputStream ostr) =>
                {
                    BytesHelper.write(ostr, iceP_data);
                });
            }
Пример #7
0
        private void _iceI_initiateCallback(Demo.CallbackReceiverPrx iceP_proxy, string iceP_message, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <object>(completed);

            outAsync.invoke(
                _initiateCallback_name,
                Ice.OperationMode.Normal,
                Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (Ice.OutputStream ostr) =>
            {
                Demo.CallbackReceiverPrxHelper.write(ostr, iceP_proxy);
                ostr.writeString(iceP_message);
            });
        }
Пример #8
0
        private void _iceI_callback(string iceP_messageCallback, _System.Collections.Generic.Dictionary <string, string> context, bool synchronous, IceInternal.OutgoingAsyncCompletionCallback completed)
        {
            var outAsync = getOutgoingAsync <object>(completed);

            outAsync.invoke(
                _callback_name,
                Ice.OperationMode.Normal,
                Ice.FormatType.DefaultFormat,
                context,
                synchronous,
                write: (Ice.OutputStream ostr) =>
            {
                ostr.writeString(iceP_messageCallback);
            });
        }