Ejemplo n.º 1
0
    /**
     * 调用 魔法表情
     * @param sendPassportId 谁发的
     * @param receivePassportId 给谁发的
     * @param magicFace 发送的魔法表情
     */
    public static void CG_BAZOO_MAGIC_FACE(long sendPassportId, long receivePassportId, string magicFace)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BAZOO_MAGIC_FACE);

        msgBody.PutLong(sendPassportId);
        msgBody.PutLong(receivePassportId);
        msgBody.PutString(magicFace);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 2
0
    /**
     * 客户端请求读取邮件
     * @param mailId 邮件id
     */
    public static void CG_READ_MAIL(long mailId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_READ_MAIL);

        msgBody.PutLong(mailId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 3
0
    /**
     * 德州加注
     * @param addBet 加注额度
     */
    public static void CG_TEXAS_ADD_BET(long addBet)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_TEXAS_ADD_BET);

        msgBody.PutLong(addBet);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 4
0
    /**
     * 德州补充筹码数
     * @param playerId 玩家id
     */
    public static void CG_HUMAN_TEXAS_INFO_DATA_SEARCH(long playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_HUMAN_TEXAS_INFO_DATA_SEARCH);

        msgBody.PutLong(playerId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 5
0
    /**
     * 客户端请求全部奖品领取奖励
     * @param mailId 邮件id
     */
    public static void CG_DEAL_WITH_REWARD(long mailId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_DEAL_WITH_REWARD);

        msgBody.PutLong(mailId);
        PlatformService.Send(msgBody);
    }
    /**
     * 领取礼物
     * @param giftId 礼物id
     */
    public static void CG_FRIEND_GIFT_GET(long giftId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_FRIEND_GIFT_GET);

        msgBody.PutLong(giftId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 7
0
    /**
     * 加入德州房间号
     * @param roomId 房间id
     */
    public static void CG_JOIN_TEXAS_ROOM_ID(long roomId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_JOIN_TEXAS_ROOM_ID);

        msgBody.PutLong(roomId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 8
0
    /**
     * 银行 取出
     * @param outGold 玩家 将要从银行取出的筹码
     */
    public static void CG_BANK_OUT(long outGold)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BANK_OUT);

        msgBody.PutLong(outGold);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 9
0
    /**
     * 百家乐玩家信息
     * @param playerId 玩家id
     */
    public static void CG_HUMAN_BACCART(long playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_HUMAN_BACCART);

        msgBody.PutLong(playerId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 10
0
    /**
     * 客户端请求用户信息
     * @param userId 用户id
     */
    public static void CG_QUERY_PLAYER_INFO(long userId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_QUERY_PLAYER_INFO);

        msgBody.PutLong(userId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 11
0
    /**
     * 邀请朋友加入老虎机房间
     * @param req_playerId 邀请的好友ID
     */
    public static void CG_SLOT_ROOM_PLEASE(long req_playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SLOT_ROOM_PLEASE);

        msgBody.PutLong(req_playerId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 12
0
    /**
     * 百家乐补充筹码
     * @param complement 补充数
     */
    public static void CG_BACCART_COMPLEMENT(long complement)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BACCART_COMPLEMENT);

        msgBody.PutLong(complement);
        PlatformService.Send(msgBody);
    }
    /**
     * 客户端删除好友请求
     * @param friendId 好友id
     */
    public static void CG_DELETE_FRIEND(long friendId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_DELETE_FRIEND);

        msgBody.PutLong(friendId);
        PlatformService.Send(msgBody);
    }
    /**
     * 客户端请求添加好友
     * @param playerId 玩家id
     */
    public static void CG_REQUEST_FRIEND(long playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_REQUEST_FRIEND);

        msgBody.PutLong(playerId);
        PlatformService.Send(msgBody);
    }
    /**
     * 进入好友房间
     * @param friendId 好友ID
     */
    public static void CG_ENTER_FRIENDS_ROOM(long friendId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_ENTER_FRIENDS_ROOM);

        msgBody.PutLong(friendId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 16
0
    /**
     * 银行 存入
     * @param storeGold 玩家 将要存入银行的筹码
     */
    public static void CG_BANK_STORE(long storeGold)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_BANK_STORE);

        msgBody.PutLong(storeGold);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 17
0
    /**
     * 获取俱乐部信息
     * @param playerId 玩家id
     */
    public static void CG_CLUB_INFO_GET(long playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_CLUB_INFO_GET);

        msgBody.PutLong(playerId);
        PlatformService.Send(msgBody);
    }
    /**
     * 验证订单mycard
     * @param orderId 订单号
     */
    public static void CG_VALIDATE_ORDER_MYCARD(long orderId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_VALIDATE_ORDER_MYCARD);

        msgBody.PutLong(orderId);
        PlatformService.Send(msgBody);
    }
    /**
     * 获取成就数据
     * @param roleId 角色ID
     */
    public static void CG_ACH_INFO(long roleId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_ACH_INFO);

        msgBody.PutLong(roleId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 20
0
    /**
     * 授权
     * @param playerId 玩家id
     * @param opType 类型 0 降职 1 升职
     */
    public static void CG_CLUB_PROMATE(long playerId, int opType)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_CLUB_PROMATE);

        msgBody.PutLong(playerId);
        msgBody.PutInt(opType);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 21
0
    /**
     * 发送互动道具
     * @param itemId 互动道具id
     * @param playerId 玩家id
     */
    public static void CG_SEND_INTERACTIVE_ITEM(int itemId, long playerId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_SEND_INTERACTIVE_ITEM);

        msgBody.PutInt(itemId);
        msgBody.PutLong(playerId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 22
0
    /**
     * 德州加入vip房间
     * @param vipId vipId
     * @param password 密码
     */
    public static void CG_JOIN_TEXAS_VIP(long vipId, string password)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_JOIN_TEXAS_VIP);

        msgBody.PutLong(vipId);
        msgBody.PutString(password);
        PlatformService.Send(msgBody);
    }
    /**
     * 客户端处理好友请求
     * @param playerId 请求id
     * @param result 处理结果
     */
    public static void CG_APPLY_FRIEND(long playerId, int result)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_APPLY_FRIEND);

        msgBody.PutLong(playerId);
        msgBody.PutInt(result);
        PlatformService.Send(msgBody);
    }
    /**
     * 用户领取活动奖励
     * @param activityId 活动id
     * @param indexId 具体小条件Id数组的索引下标
     */
    public static void CG_GET_ACTIVITY_REWARD(long activityId, int indexId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_GET_ACTIVITY_REWARD);

        msgBody.PutLong(activityId);
        msgBody.PutInt(indexId);
        PlatformService.Send(msgBody);
    }
    /**
     * 验证订单亚马逊
     * @param orderId 订单号
     * @param receiptId 收据ID
     * @param userId Amazon客户的 ID
     */
    public static void CG_ORDER_AMAZON(long orderId, string receiptId, string userId)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_ORDER_AMAZON);

        msgBody.PutLong(orderId);
        msgBody.PutString(receiptId);
        msgBody.PutString(userId);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 26
0
    /**
     * 聊天
     * @param channel 频道
     * @param destRoleUUID 接收玩家id
     * @param content 内容
     */
    public static void CG_CHAT_MSG(int channel, long destRoleUUID, string content)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_CHAT_MSG);

        msgBody.PutInt(channel);
        msgBody.PutLong(destRoleUUID);
        msgBody.PutString(content);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 27
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);
    }
Ejemplo n.º 28
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);
    }
    /**
     * 验证订单MOL
     * @param orderId 订单号
     * @param currencyCode 币种
     * @param amount 单位是分
     * @param paymentId MOL订单
     * @param virtualCurrencyAmount 发放的游戏币PID为-1的时候有效
     */
    public static void CG_VALIDATE_ORDER_MOL(long orderId, string currencyCode, int amount, string paymentId, string virtualCurrencyAmount)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_VALIDATE_ORDER_MOL);

        msgBody.PutLong(orderId);
        msgBody.PutString(currencyCode);
        msgBody.PutInt(amount);
        msgBody.PutString(paymentId);
        msgBody.PutString(virtualCurrencyAmount);
        PlatformService.Send(msgBody);
    }
Ejemplo n.º 30
0
    /**
     * 客户端请求删除  发送邮件
     * @param mailIdList 邮件Id列表
     */
    public static void CG_DELETE_SEND_MAIL(ArrayList mailIdList)
    {
        OutputMessage msgBody = new OutputMessage(NetMessageType.CG_DELETE_SEND_MAIL);
        int           i;

        msgBody.PutShort((short)mailIdList.Count);
        for (i = 0; i < mailIdList.Count; i++)
        {
            msgBody.PutLong((long)mailIdList[i]);
        }
        PlatformService.Send(msgBody);
    }