/// <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> /// 领取红包 /// </summary> public void recieve(long id) { List <string> args = new List <string>(); args.Add(id.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "recieve", args, -10); }
/// <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); }
/// <summary> /// 邀请 /// </summary> public void invite(long targetUid) { List <string> args = new List <string>(); args.Add(targetUid.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "invite", args, -10); }
/// <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 positionUp(int position) { List <string> args = new List <string>(); args.Add(position.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "positionUp", args, -12); }
/// <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 bonus(int id) { List <string> args = new List <string>(); args.Add(id.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "bonus", args, -10); }
/// <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); }
/// <summary> /// 打开单个红包信息 /// </summary> public void openOneRed(long id) { List <string> args = new List <string>(); args.Add(id.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "openOneRed", args, -10); }
/// <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); }
/// <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); }
/// <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); }
/// <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 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); }
/// <summary> /// 发大厅红包 返回自己当前剩余金币 redType:红包类型 1 普通红包 2 运气红包,count:发多少个红包 desc:说明 /// </summary> public void redEnvelope(short redType, int count, string desc) { List <string> args = new List <string>(); args.Add(redType.ToString()); args.Add(count.ToString()); args.Add(desc.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "redEnvelope", args, -10); }
/// <summary> /// 发送好友聊天消息 msgType:消息类型1-普通文字 2-表情 ,msg:消息内容 /// </summary> public void friendChat(long targetUid, int msgType, string msg) { List <string> args = new List <string>(); args.Add(targetUid.ToString()); args.Add(msgType.ToString()); args.Add(msg.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "friendChat", args, -10); }
/// <summary> /// 赠送礼物 返回自己当前财富scenesId:收到礼物的那个人所在的场景 /// </summary> public void giveGifts(int scenesId, long targetUid, int giftId, int count) { List <string> args = new List <string>(); args.Add(scenesId.ToString()); args.Add(targetUid.ToString()); args.Add(giftId.ToString()); args.Add(count.ToString()); ProxyObj.CreateTcpProxy(this.GetType(), "giveGifts", args, -10); }
/// <summary> /// /// </summary> public void bankerList() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "bankerList", args, -9); }
/// <summary> /// /// </summary> public void exitRoom() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "exitRoom", args, -12); }
/// <summary> /// /// </summary> public void history() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "history", args, -12); }
/// <summary> /// 清除下注 返回剩下多少钱,返回乐多少钱 /// </summary> public void clearBet() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "clearBet", args, -12); }
/// <summary> /// 准备 /// </summary> public void ready() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "ready", args, -8); }
/// <summary> /// 当前房间没在位置上所有的人 /// </summary> public void nowPlayPlayerList() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "nowPlayPlayerList", args, -12); }
/// <summary> /// 下位置 /// </summary> public void positionDown() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "positionDown", args, -12); }
/// <summary> /// 看牌 /// </summary> public void lookCard() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "lookCard", args, -8); }
/// <summary> /// 领取奖励 /// </summary> public void receiveAward() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "receiveAward", args, -10); }
/// <summary> /// /// </summary> public void jackpot() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "jackpot", args, -9); }
/// <summary> /// 打开推广列表 /// </summary> public void openGeneralizeList() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "openGeneralizeList", args, -10); }
/// <summary> /// 全压 /// </summary> public void betAll() { List <string> args = new List <string>(); ProxyObj.CreateTcpProxy(this.GetType(), "betAll", args, -8); }