Beispiel #1
0
        /// <summary>
        /// 查看座驾
        /// </summary>
        public ItemListDto playerAutos(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <ItemListDto>(this.GetType(), "playerAutos", args, -7));
        }
Beispiel #2
0
        /// <summary>
        /// 点击领取礼包奖励
        /// </summary>
        public ItemListDto receiveAward(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <ItemListDto>(this.GetType(), "receiveAward", args, -7));
        }
Beispiel #3
0
        /// <summary>
        /// 查看道具
        /// </summary>
        public PropDto playerPropInfo(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <PropDto>(this.GetType(), "playerPropInfo", args, -7));
        }
Beispiel #4
0
        /// <summary>
        /// 打开成长礼包 回发礼包信息
        /// </summary>
        public GiftBagInfoDto open(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <GiftBagInfoDto>(this.GetType(), "open", args, -7));
        }
Beispiel #5
0
        /// <summary>
        /// 领取红包
        /// </summary>
        public void recieve(long id)
        {
            List <string> args = new List <string>();

            args.Add(id.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "recieve", args, -10);
        }
Beispiel #6
0
        /// <summary>
        /// 打开单个红包信息
        /// </summary>
        public void openOneRed(long id)
        {
            List <string> args = new List <string>();

            args.Add(id.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "openOneRed", args, -10);
        }
Beispiel #7
0
        /// <summary>
        /// 查看轮盘信息
        /// </summary>
        public RebateDialInfoDto dialInfo(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <RebateDialInfoDto>(this.GetType(), "dialInfo", args, -7));
        }
Beispiel #8
0
        /// <summary>
        /// 邀请
        /// </summary>
        public void invite(long targetUid)
        {
            List <string> args = new List <string>();

            args.Add(targetUid.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "invite", args, -10);
        }
Beispiel #9
0
        /// <summary>
        /// 打开摇钱树面板
        /// </summary>
        public MoneyTreeOpenDto open(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <MoneyTreeOpenDto>(this.GetType(), "open", args, -7));
        }
Beispiel #10
0
        /// <summary>
        /// 购买vip
        /// </summary>
        public void pay(int productId)
        {
            List <string> args = new List <string>();

            args.Add(productId.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "pay", args, -10);
        }
Beispiel #11
0
        /// <summary>
        /// 比牌
        /// </summary>
        public void compareCard(long targetUid)
        {
            List <string> args = new List <string>();

            args.Add(targetUid.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "compareCard", args, -8);
        }
        /// <summary>
        /// 踢人下坐
        /// </summary>
        public void kicking(long targetUid)
        {
            List <string> args = new List <string>();

            args.Add(targetUid.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "kicking", args, -12);
        }
        /// <summary>
        /// 上位置
        /// </summary>
        public void positionUp(int position)
        {
            List <string> args = new List <string>();

            args.Add(position.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "positionUp", args, -12);
        }
Beispiel #14
0
        /// <summary>
        /// 换牌 cardId :要换的牌的id
        /// </summary>
        public void exchangeCard(int cardId)
        {
            List <string> args = new List <string>();

            args.Add(cardId.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "exchangeCard", args, -8);
        }
Beispiel #15
0
        /// <summary>
        /// 加注 :chipPosition 下注筹码对应的索引值 ,返回自己剩余的金币
        /// </summary>
        public void betAdd(int chipPosition)
        {
            List <string> args = new List <string>();

            args.Add(chipPosition.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "betAdd", args, -8);
        }
Beispiel #16
0
        /// <summary>
        ///
        /// </summary>
        public RankingListDto scenesRanking(int scenesId)
        {
            List <string> args = new List <string>();

            args.Add(scenesId.ToString());
            return(ProxyObj.CreateHttpProxy <RankingListDto>(this.GetType(), "scenesRanking", args, -7));
        }
Beispiel #17
0
        /// <summary>
        /// 签到转盘
        /// </summary>
        public SignInDto dial(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <SignInDto>(this.GetType(), "dial", args, -7));
        }
Beispiel #18
0
        /// <summary>
        /// 关闭天天乐界面的狮虎调用这个方法
        /// </summary>
        public bool exit(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <bool>(this.GetType(), "exit", args, -11));
        }
Beispiel #19
0
        /// <summary>
        /// 领取奖励
        /// </summary>
        public MoneyTreeAwardDto award(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <MoneyTreeAwardDto>(this.GetType(), "award", args, -7));
        }
Beispiel #20
0
        /// <summary>
        /// 领好友红包
        /// </summary>
        public void bonus(int id)
        {
            List <string> args = new List <string>();

            args.Add(id.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "bonus", args, -10);
        }
Beispiel #21
0
        /// <summary>
        ///
        /// </summary>
        public DiceRoomInfiDto enter(long uid)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            return(ProxyObj.CreateHttpProxy <DiceRoomInfiDto>(this.GetType(), "enter", args, -12));
        }
Beispiel #22
0
        /// <summary>
        ///
        /// </summary>
        public void removeFriend(long targetUid)
        {
            List <string> args = new List <string>();

            args.Add(targetUid.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "removeFriend", args, -10);
        }
        /// <summary>
        /// 发送聊天消息 msgType:消息类型1-普通文字 2-表情 ,msg:消息内容
        /// </summary>
        public void sendChatMsg(int msgType, string msg)
        {
            List <string> args = new List <string>();

            args.Add(msgType.ToString());
            args.Add(msg.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "sendChatMsg", args, -12);
        }
        /// <summary>
        /// 下注
        /// </summary>
        public void bet(int chip, int position)
        {
            List <string> args = new List <string>();

            args.Add(chip.ToString());
            args.Add(position.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "bet", args, -12);
        }
Beispiel #25
0
        /// <summary>
        /// 玩家下线
        /// </summary>
        public bool loginOut(long uid, string secretKey)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            args.Add(secretKey.ToString());
            return(ProxyObj.CreateHttpProxy <bool>(this.GetType(), "loginOut", args, -100));
        }
Beispiel #26
0
        /// <summary>
        /// 发好友红包
        /// </summary>
        public void giveRedEnvelopes(long targetUid, long gold)
        {
            List <string> args = new List <string>();

            args.Add(targetUid.ToString());
            args.Add(gold.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "giveRedEnvelopes", args, -10);
        }
Beispiel #27
0
        /// <summary>
        /// 当铺 返回剩余礼物和当前金币
        /// </summary>
        public void pawnshop(int id, int count)
        {
            List <string> args = new List <string>();

            args.Add(id.ToString());
            args.Add(count.ToString());
            ProxyObj.CreateTcpProxy(this.GetType(), "pawnshop", args, -10);
        }
Beispiel #28
0
        /// <summary>
        /// 进入房间
        /// </summary>
        public Game1PlayerRoomDto enterRoom(long uid, int scenesId)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            args.Add(scenesId.ToString());
            return(ProxyObj.CreateHttpProxy <Game1PlayerRoomDto>(this.GetType(), "enterRoom", args, -8));
        }
Beispiel #29
0
        /// <summary>
        ///
        /// </summary>
        public BankDto draw(long uid, long gold)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            args.Add(gold.ToString());
            return(ProxyObj.CreateHttpProxy <BankDto>(this.GetType(), "draw", args, -7));
        }
Beispiel #30
0
        /// <summary>
        /// 抽奖 num:抽将次数
        /// </summary>
        public RebateDialDto luckyDraw(long uid, int num)
        {
            List <string> args = new List <string>();

            args.Add(uid.ToString());
            args.Add(num.ToString());
            return(ProxyObj.CreateHttpProxy <RebateDialDto>(this.GetType(), "luckyDraw", args, -7));
        }