Пример #1
0
            iceD_JoinSceneReq(IPlayerCo obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var  istr = inS.startReadParams();
                byte iceP_sceneid;

                iceP_sceneid = istr.readByte();
                inS.endReadParams();
                return(inS.setResultTask <bool>(obj.JoinSceneReqAsync(iceP_sceneid, current),
                                                (ostr, ret) =>
                {
                    ostr.writeBool(ret);
                }));
            }
Пример #2
0
            iceD_RegOrLoginReq(IPlayerCo obj, IceInternal.Incoming inS, Ice.Current current)
            {
                Ice.ObjectImpl.iceCheckMode(Ice.OperationMode.Normal, current.mode);
                var    istr = inS.startReadParams();
                string iceP_account;
                string iceP_pwd;

                iceP_account = istr.readString();
                iceP_pwd     = istr.readString();
                inS.endReadParams();
                return(inS.setResultTask <RLResultRes>(obj.RegOrLoginReqAsync(iceP_account, iceP_pwd, current),
                                                       (ostr, ret) =>
                {
                    RLResultRes.ice_write(ostr, ret);
                }));
            }