Beispiel #1
0
    /**
     * 无双吹牛新手打点
     * @param modeType 模式类型:1:经典吹牛模式,2:牛牛模式,3:梭哈模式,4:单挑模式
     * @param process 新手进程:到第1步传1,到第二步传2,3...依次类推
     */
    public static void CG_BAZOO_NEW_GUY_PROCESS(int modeType, int process)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BAZOO_NEW_GUY_PROCESS);

        msgBody.PutInt(modeType);
        msgBody.PutInt(process);
        PlatformService.Send(msgBody);
    }
    /**
     * 巴西风情老虎机 去游戏 游戏
     * @param gameType 要玩 哪个小游戏
     * @param color 要是 桑巴小游戏 就传 color
     */
    public static void CG_SLOT_TYPE24_BOUNS_GAME_GO(int gameType, int color)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TYPE24_BOUNS_GAME_GO);

        msgBody.PutInt(gameType);
        msgBody.PutInt(color);
        PlatformService.Send(msgBody);
    }
Beispiel #3
0
    /**
     * 具体游戏类型彩金
     * @param gameType 游戏类型 百家乐 1 德州扑克 2 老虎机 classic:3  老虎机 四大美人:4 老虎机 水果:5
     * @param gameId 游戏的id
     */
    public static void CG_GAMETYPE_JACKPOT(int gameType, int gameId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_GAMETYPE_JACKPOT);

        msgBody.PutInt(gameType);
        msgBody.PutInt(gameId);
        PlatformService.Send(msgBody);
    }
    /**
     * 排行
     * @param page 页面
     * @param rankType 排行版类型
     */
    public static void CG_COMMON_RANK(int page, int rankType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_COMMON_RANK);

        msgBody.PutInt(page);
        msgBody.PutInt(rankType);
        PlatformService.Send(msgBody);
    }
    /**
     * 排行
     * @param start 开始位置(包括)
     * @param end 结束位置(包括)
     */
    public static void CG_REQUEST_RANK(int start, int end)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_REQUEST_RANK);

        msgBody.PutInt(start);
        msgBody.PutInt(end);
        PlatformService.Send(msgBody);
    }
Beispiel #6
0
    /**
     * 每个人轮流 叫号
     * @param diceNum 色子的数量
     * @param diceValue 色子的值
     */
    public static void CG_TALK_BIG(int diceNum, int diceValue)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_TALK_BIG);

        msgBody.PutInt(diceNum);
        msgBody.PutInt(diceValue);
        PlatformService.Send(msgBody);
    }
    /**
     * slot
     * @param bet 下注
     * @param free 是否免费
     */
    public static void CG_SLOT_SLOT(int bet, int free)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_SLOT);

        msgBody.PutInt(bet);
        msgBody.PutInt(free);
        PlatformService.Send(msgBody);
    }
Beispiel #8
0
    /**
     * 创建房间(创建的房间都是私人房间)
     * @param modeType 模式
     * @param bet 倍数
     * @param password 创建房间的 密码
     */
    public static void CG_ROOM_CREATE(int modeType, int bet, string password)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_ROOM_CREATE);

        msgBody.PutInt(modeType);
        msgBody.PutInt(bet);
        msgBody.PutString(password);
        PlatformService.Send(msgBody);
    }
Beispiel #9
0
    /**
     * 老虎机房间发礼物
     * @param giftId 礼物ID
     * @param send_type 发送类型 0 个人 1 全体
     * @param rece_playerId 接收者ID在发送类型是0的时候有效果
     */
    public static void CG_SLOT_ROOM_GIFT(int giftId, int send_type, long rece_playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_ROOM_GIFT);

        msgBody.PutInt(giftId);
        msgBody.PutInt(send_type);
        msgBody.PutLong(rece_playerId);
        PlatformService.Send(msgBody);
    }
    /**
     * 设置俱乐部
     * @param notice 公告
     * @param _type 类型 1 公开 2 需要申请  3 不可加入
     * @param ico 图标
     * @param limit 段位限制
     */
    public static void CG_CLUB_EDIT(string notice, int _type, int ico, int limit)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_CLUB_EDIT);

        msgBody.PutString(notice);
        msgBody.PutInt(_type);
        msgBody.PutInt(ico);
        msgBody.PutInt(limit);
        PlatformService.Send(msgBody);
    }
Beispiel #11
0
    /**
     * 保存用户点评
     * @param slotType 老虎机类型
     * @param paintAssess 美术点评
     * @param playAssess 玩法点评
     * @param totalAssess 综合点评
     */
    public static void CG_GIVEALIKE_SAVE(int slotType, int paintAssess, int playAssess, int totalAssess)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_GIVEALIKE_SAVE);

        msgBody.PutInt(slotType);
        msgBody.PutInt(paintAssess);
        msgBody.PutInt(playAssess);
        msgBody.PutInt(totalAssess);
        PlatformService.Send(msgBody);
    }
Beispiel #12
0
    /**
     * 发送礼物
     * @param itemType 发送什么类型的道具(2:色钟,3:红包,4:礼物)
     * @param toPlayerId 发给谁
     * @param itemId 礼物ID
     * @param number 礼物数量
     */
    public static void CG_BAZOO_SEND_GIFT(int itemType, long toPlayerId, int itemId, int number)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BAZOO_SEND_GIFT);

        msgBody.PutInt(itemType);
        msgBody.PutLong(toPlayerId);
        msgBody.PutInt(itemId);
        msgBody.PutInt(number);
        PlatformService.Send(msgBody);
    }
Beispiel #13
0
    /**
     * 聊天
     * @param channel 频道
     * @param destRoleUUID 接收玩家id
     * @param content 内容
     * @param roomNumber 房间号
     * @param msgType 消息类型(普通消息:0,可以加入房间的消息:1)
     */
    public static void CG_CHAT_MSG(int channel, long destRoleUUID, string content, string roomNumber, int msgType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_CHAT_MSG);

        msgBody.PutInt(channel);
        msgBody.PutLong(destRoleUUID);
        msgBody.PutString(content);
        msgBody.PutString(roomNumber);
        msgBody.PutInt(msgType);
        PlatformService.Send(msgBody);
    }
    /**
     * 请求订单
     * @param productId 产品d
     */
    public static void CG_REQUEST_ORDER(int productId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_REQUEST_ORDER);

        msgBody.PutInt(productId);
        PlatformService.Send(msgBody);
    }
Beispiel #15
0
    /**
     * 领取所有红包
     * @param itemId 红包的itemID
     */
    public static void CG_BAZOO_RED_PACKAGE(int itemId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BAZOO_RED_PACKAGE);

        msgBody.PutInt(itemId);
        PlatformService.Send(msgBody);
    }
Beispiel #16
0
    /**
     * 请求最高彩金获得者前20位
     * @param operationType 请求类型 1 请求最近彩金获得者 2 获取自己适合的游戏类型彩金
     */
    public static void CG_JACKPOT_LIST_DATA(int operationType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_JACKPOT_LIST_DATA);

        msgBody.PutInt(operationType);
        PlatformService.Send(msgBody);
    }
Beispiel #17
0
    /**
     * 主动请求 进入老虎机后的第一个页面展示的 四个阶段的 彩金数
     * @param slotType 根据bet数 获取的相应的彩金值
     */
    public static void CG_SLOT_NEW_JACKPOTS(int slotType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_NEW_JACKPOTS);

        msgBody.PutInt(slotType);
        PlatformService.Send(msgBody);
    }
    /**
     * 老虎机特效
     * @param demoType 1:3个bonus 2 :4个bonus 3 :5个bonus 4:3个scatter 5:4个scatter 6:5个scatter 7:一列大号wild 8:2列大号wild 9:一列小号wild 10:2列小号wild 11:第一行随机出现相同元素 12:第一行出现3个jackpot 13:随机出现4个jackpot 14:随机出现5个jackpot 15: 随机出现6个jackpot 16: 随机出现7个jackpot 200:增加1个亿
     */
    public static void CG_DEMO_TYPE(int demoType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_DEMO_TYPE);

        msgBody.PutInt(demoType);
        PlatformService.Send(msgBody);
    }
Beispiel #19
0
    /**
     * 更改性别
     * @param sex 性别
     */
    public static void CG_HUMAN_CHANGE_SEX(int sex)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_HUMAN_CHANGE_SEX);

        msgBody.PutInt(sex);
        PlatformService.Send(msgBody);
    }
    /**
     * 获取老虎机列表
     * @param soltType 老虎机类型
     */
    public static void CG_SLOT_GET_LIST(int soltType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_GET_LIST);

        msgBody.PutInt(soltType);
        PlatformService.Send(msgBody);
    }
    /**
     * 关闭竞赛面板
     * @param tournamentType 竞赛类型
     */
    public static void CG_SLOT_TOURNAMENT_CLOSE(int tournamentType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TOURNAMENT_CLOSE);

        msgBody.PutInt(tournamentType);
        PlatformService.Send(msgBody);
    }
    /**
     * 福尔摩斯老虎机bouns小游戏
     * @param number 猜大小的第几个
     */
    public static void CG_SLOT_TYPE30_BOUNS(int number)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TYPE30_BOUNS);

        msgBody.PutInt(number);
        PlatformService.Send(msgBody);
    }
    /**
     * slot
     * @param pos 盒子位置
     */
    public static void CG_FREE_SLOT_REWARD(int pos)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_FREE_SLOT_REWARD);

        msgBody.PutInt(pos);
        PlatformService.Send(msgBody);
    }
    /**
     * 海盗老虎机bouns小游戏
     * @param whichNum 第几个小游戏
     */
    public static void CG_SLOT_TYPE31_BOUNS(int whichNum)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TYPE31_BOUNS);

        msgBody.PutInt(whichNum);
        PlatformService.Send(msgBody);
    }
Beispiel #25
0
    /**
     * bigWin分享礼物
     * @param giftId 礼物ID
     */
    public static void CG_ROOM_BIGWIN_GIFT(int giftId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_ROOM_BIGWIN_GIFT);

        msgBody.PutInt(giftId);
        PlatformService.Send(msgBody);
    }
    /**
     * 西方龙老虎机bouns小游戏
     * @param position 龙蛋位置
     */
    public static void CG_SLOT_TYPE29_BOUNS(int position)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TYPE29_BOUNS);

        msgBody.PutInt(position);
        PlatformService.Send(msgBody);
    }
Beispiel #27
0
    /**
     * 新手引导记录
     * @param guideId 0 大礼包 1 百家乐 2 德州 3 老虎
     */
    public static void CG_HUMAN_NEW_GUIDE(int guideId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_HUMAN_NEW_GUIDE);

        msgBody.PutInt(guideId);
        PlatformService.Send(msgBody);
    }
Beispiel #28
0
    /**
     * 返回游戏彩金数
     * @param bet 根据bet数 获取相应的彩金值
     */
    public static void CG_NEW_JACKPOT(int bet)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_NEW_JACKPOT);

        msgBody.PutInt(bet);
        PlatformService.Send(msgBody);
    }
    /**
     * 进入老虎机
     * @param slotId 老虎机Id
     */
    public static void CG_SLOT_ENTER(int slotId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_ENTER);

        msgBody.PutInt(slotId);
        PlatformService.Send(msgBody);
    }
    /**
     * 万圣节老虎机   用户玩 bonus小游戏
     * @param isGhost 是否过关(0,1,2,3关): 只要调用这个接口 就是过关
     */
    public static void CG_SLOT_TYPE38_BONUS(int isGhost)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_TYPE38_BONUS);

        msgBody.PutInt(isGhost);
        PlatformService.Send(msgBody);
    }