# -*- coding=utf-8
'''
Created on 2015年7月30日

@author: zhaojiangang
'''

def clone_object(objd):
    import json
    return json.loads(json.dumps(objd))

common_dizhu_classics = {
    "type":"common",
    "params":{
        "defaultRes":"Classics",
        "gameMark":"ddz",
        "gameType":1
    }
}

# 地主 - 2
common_dizhu_happy = {
    "type":"common",
    "params":{
        "defaultRes":"Happy",
        "gameMark":"ddz",
        "gameType":2
    }
}

# 地主 - 3
common_dizhu_match = {
    "type":"common",
    "params":{
        "defaultRes":"Match",
        "gameMark":"ddz",
        "gameType":3
    }
}

# 地主 - 4
common_dizhu_laizi = {
    "type":"common",
    "params":{
        "defaultRes":"Rascal",
        "gameMark":"ddz",
        "gameType":4
    }
}

# 地主 - 5
common_dizhu_single = {
    "type":"common",
    "params":{
        "defaultRes":"Single",
        "gameMark":"ddz",
        "gameType":5
    }
}

# 地主 - 6
common_dizhu_double = {
    "type":"common",
    "params":{
        "defaultRes":"DoublePerson",
        "gameMark":"ddz",
        "gameType":6
    }
}

common_mj_blood = {
    "type":"common",
    "params":{
        "defaultRes":"Blood",
        "gameMark":"majiang",
        "gameType":7
    }
}

common_mj_xlch = {
    "type":"common",
    "params":{
        "defaultRes":"XueLiuChengHe",
        "gameMark":"majiang",
        "gameType":8
    }
}

# 支持版本 >= 3.6
# 地主插件的二人场
# description为空，实际需要下载啊的时候才需要展示
# 版本号是0，认为是预置的版本，已下载
# 
# 新增设置autoDownload，可按设置自动下载
# 自动下载协议
# 2G下自动下载      首位为1        0b0001      1
# 3G/4G下自动下载   二位为1        0b0010      2
# WIFI下自动下载    三位为1        0b0100      4
# 
# 新增配置
# isOffline - 是否支持离线显示，单机场支持离线显示
# isQuickStart - 在大厅界面点击快速开始进入哪个游戏
#
# 以德州举例：
# 德州大厅的德州插件，isQuickStart为1
# 地主大厅的德州插件，isQuickStart为0
#
 
plugin_dizhu_classics = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"经典场",
        "gameMark":"ddz",
        "gameType":1,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":0,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"Classic",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 地主插件 - 2
plugin_dizhu_happy = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"欢乐场",
        "gameMark":"ddz",
        "gameType":2,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":0,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"Happy",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 地主插件 - 3
plugin_dizhu_match = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"比赛场",
        "gameMark":"ddz",
        "gameType":3,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":0,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"Match",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 地主插件 - 4
plugin_dizhu_laizi = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"癞子场",
        "gameMark":"ddz",
        "gameType":4,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":0,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"Rascal",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 地主插件 - 5 二人场
plugin_dizhu_double = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"二人场",
        "gameMark":"ddz",
        "gameType":5,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":0,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"DoublePerson",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 地主插件 - 6 单机场
plugin_dizhu_single = {
    "type":"download",
    "params":{
        "description": [
        ],
        "gameId": 6,
        "gameName":"单机场",
        "gameMark":"ddz",
        "gameType":6,
        "ctorName":"ddz",
        "isNew":0,
        "isOffline":1,
        "isQuickStart":1,
        "ctorPath":'games/ddz/script/build/ddz_release.js',                               
        "currentVer": {
            "url":"http://125.39.218.101/open/plugin_game/ddz_plugin_3_60_10.zip",
            "md5":"d14d851084eaf8d32871ac9cc6e2ac74",
            "hall_min_required":6,
            "changelogs":[
                "1、经典场插件震撼首发~"
            ],
            "ver":0,
            "size":"4.6M"
        },
        "defaultRes":"Single",
        "iconUrl":"",
        "autoDownload":4
    }
}

# 通用的下一页插槽
common_next_page = {
    "type":"common",
    "params":{
        "defaultRes":"Exciting",
        "gameMark":"hall",
        "gameType":1
    }
}

# 拼十插件
plugin_douniu_crazy = {
    "type":"download",
    "params":{
        "description": [
            "1、看牌再加倍，安逸~",
            "2、简单又刺激，精彩~"
        ],
        "gameId": 10,
        "gameName":"疯狂拼十",
        "gameMark":"douniu",
        "gameType":2,
        "ctorName":"dn",
        "isNew":0,
        "ctorPath":'games/douniu/douniu_release.js',
        "currentVer": {
            "url":"http://ddz.dl.tuyoo.com/hall6/douniu/douniu_release_v2.3_2.zip",
            "md5":"",
            "hall_min_required":2,
            "changelogs":[
                "1、看牌再加倍，安逸~",
                "2、简单又刺激，精彩~"
            ],
            "ver":2,
            "size":"2.9M"
        },
        "defaultRes":"DouNiuDefault",
        "iconUrl":""
    }
}

# 拼十老百人插件
plugin_douniu_old100 = {
    "type":"download",
    "params": {
        "description":[
            "1、百人共一桌，热闹~",
            "2、上庄最刺激，过瘾~"
        ],
        "gameId": 10,
        "gameName": "百人拼十",
        "gameMark": "douniu",
        "gameType": 1,
        "ctorName" : "dn",
        "isNew": 1,
        "ctorPath" : 'games/douniu/douniu_release.js',
        "currentVer":{
            "url":"http://ddz.dl.tuyoo.com/hall6/douniu-hundreds/douniu-hundreds_v3.0_1.zip",
            "md5":"",
            "hall_min_required":3,
            "changelogs":[
                "1、百人共一桌，热闹~",
                "2、上庄最刺激，过瘾~"
            ],
            "ver": 3,
            "size":"2.2M",
        },
        "defaultRes":"BaiRenDefault",
        "iconUrl":""
    }
}

plugin_douniu_100 = {
    "type":"download",
    "params": {
        "description":[
            "1、百人共桌，热闹~",
            "2、上庄最刺激，过瘾~"
        ],
        "gameId": 16,
        "gameName": "百人拼十",
        "gameMark": "douniu-hundreds",
        "gameType": 1,
        "ctorName" : "dnhundreds",
        "isNew": 1,
        "ctorPath" : 'games/douniu-hundreds/script/build/douniu-hundreds_release.js',

        "currentVer":{
            "url":"http://ddz.dl.tuyoo.com/hall6/douniu-hundreds/douniu-hundreds_v3.0_1.zip",
            "md5":"",
            "hall_min_required":3,
            "changelogs":[
                "1、百人共四桌，热闹~",
                "2、上庄最刺激，过瘾~"
            ],
            "ver": 3,
            "size":"2.2M",
        },
        "defaultRes":"BaiRenDefault",
        "iconUrl":""
    }
}

plugin_t3card = {
    "type":"download",
    "params":{
        "description": [
            "1、公平防作弊三张牌",
            "2、闷到底赢得大锅底"
        ],
        "gameId": 1,
        "gameName":"三张牌",
        "gameMark":"t3card",
        "gameType":1,
        "ctorName":"zjh",
        "isNew": 1,
        "ctorPath" : "games/t3card/t3card_release.js",
        
        "currentVer":{
            "url":"http://ddz.dl.tuyoo.com/hall6/t3card/t3card_release_v2.2_3.zip",
            "md5":"",
            "hall_min_required":2,
            "changelogs":[
                "1、公平防作弊三张牌",
                "2、闷到底赢得大锅底"
            ],
            "ver":3,               
            "size":"1.4M",              
        },
        "defaultRes":"T3CardDefault",
        "iconUrl":""
    }
}

plugin_t3flush = {
    "type":"download",
    "params":{
        "description": [
            "1、公平防作弊金三顺",
            "2、爱拼才赢大锅底"
        ],
        "gameId": 18,
        "gameName":"金三顺",
        "gameMark":"t3flush",
        "gameType":1,
        "ctorName":"ss",
        "isNew": 1,
        "ctorPath" : "games/t3flush/script/build/ss_release.js",

        "currentVer":{
            "url":"http://ddz.dl.tuyoo.com/hall6/t3flush/t3flush_release_v3.501_1.zip",
            "md5":"",
            "hall_min_required":2,
            "changelogs":[
                "1、公平防作弊金三顺",
                "2、爱拼才赢大锅底"
            ],
            "ver":3,
            "size":"1.4M",
        },
        "defaultRes":"T3FlushDefault",
        # "iconUrl":"http://ddz.dl.tuyoo.com/t3flush/images/jinsanshun_icon.png"
        "iconUrl":"http://111.203.187.143:20002/t3flush/images/jinsanshun_icon.png"
    }
}

plugin_fruit = {
    "type":"download",
    "params":{
        "description": [
            "1、轻松押注大丰收",
            "2、开开心心赢大奖"
        ],
        "gameId": 11,
        "gameName": "大丰收",
        "gameType": 1,
        "gameMark": "fruit",
        "ctorName" : "fruit",
        "isNew": 1,
         "isOffline":0,
        "ctorPath" : "games/fruit/script/build/fruit_release.js",
        
        "currentVer": {
            "url":"http://125.39.220.70/hall6/fruit/fruit_release_v2.2_2.zip",
            "md5":"",
            "hall_min_required":3,
            "changelogs": [
                "1、轻松押注大丰收",
                "2、开开心心赢大奖"
            ],
            "ver": 1,
            "size":"1.4M"
        },
        "defaultRes":"FruitDefault",
        "iconUrl":""
    }
}

plugin_texas = {
    "type":"download",
    "params":{
        "description": [
            "1、简单易学，上手快~",
            "2、对战刺激，赢得多~",
        ],
        "gameId": 8,
        "gameName":"德州扑克",
        "gameType":1,
        "gameMark":"texas",
        "ctorName":"dz",
        "isNew":1,
        "ctorPath":'games/texas/script/build/dz_release.js',
        "currentVer":{
            "ver": 3.35105,
            "url":'http://111.203.187.142:8002/hall6/texas/texas.zip',
            "md5":"18fd76650f50128d58b96e61020b3454",
            "size":"2.61M",
            "changelogs":[
                "1、简单易学，上手快~",
                "2、对战刺激，赢得多~",
            ],
            "hall_min_required":3
        },
        "defaultRes":"TexasDefault",
        "iconUrl":""
    }
}

plugin_texas_as_default = {  # 德州做为默认插件时的配置
    "type":"download",
    "params":{
        "description": [
            "1、简单易学，上手快~",
            "2、对战刺激，赢得多~",
        ],
        "gameId": 8,
        "gameName":"德州扑克",
        "gameType":1,
        "gameMark":"texas",
        "ctorName":"dz",
        "isNew":1,
        "isQuickStart":1,
        "ctorPath":'games/texas/script/build/dz_release.js',
        "currentVer":{
            "ver": 3.35105,
            "url":'http://111.203.187.142:8002/hall6/texas/texas.zip',
            "md5":"18fd76650f50128d58b96e61020b3454",
            "size":"2.61M",
            "changelogs":[
                "1、简单易学，上手快~",
                "2、对战刺激，赢得多~",
            ],
            "hall_min_required":3
        },
        "defaultRes":"TexasDefault",
        "iconUrl":""
    }
}

plugin_majiang = {
    "type":"download",
    "params":{
        "description": [
            "1、牌型丰富想胡就胡",
            "2、血战到底连胡不停",
        ],
        "gameId": 7,
        "gameName": "麻将",
        "gameType": 1,
        "gameMark": "majiang",
        "ctorName" : "mj",
        "isNew": 1,
        "ctorPath" : 'games/majiang/majiang_release.js',
        "currentVer": {
            "url":"http://ddz.dl.tuyoo.com/hall6/majiang/majiang_release_v3.361_36.zip",
            "md5":"",
            "hall_min_required": 3,
            "changelogs":[
                "1、牌型丰富想胡就胡",
                "2、血战到底连胡不停",
            ],
            "ver": 3.36136,
            "size":"2.3M"
        },
        "defaultRes":"MaJiangDefault",
        "iconUrl":""
    }
}

plugin_dog = {
    "type":"download",
    "params":{
        "description": [
            "1、轻松押注跑狗",
            "2、开开心心赢大奖"
        ],
        "gameId": 19,
        "gameName": "跑狗",
        "gameType": 1,
        "gameMark": "dog",
        "ctorName" : "dog",
        "isNew": 1,
        "ctorPath" : "games/dog/script/build/dog_release.js",

        "currentVer": {
            "url":"http://125.39.220.70/hall6/dog/dog_release_v3.5_1.zip",
            "md5":"",
            "hall_min_required":3,
            "changelogs": [
                "1、轻松押注跑狗",
                "2、开开心心赢大奖"
            ],
            "ver": 1,
            "size":"1.4M"
        },
        "defaultRes":"DogDefault",
        "iconUrl":"http://ddz.dl.tuyoo.com/hall6/imgs/hall_plugin_dog_icon_1.png"
    }
}

plugin_baohuang = {
    "type":"download",
    "params":{
        "description": [
            "1、明皇暗保步步惊心",
            "2、揭竿而起胜者为皇",
        ],
        "gameId": 17,
        "gameName": "保皇",
        "gameType": 1,
        "gameMark": "baohuang",
        "ctorName" : "bh",
        "isNew": 1,
        "ctorPath" : 'games/baohuang/script/baohuang_release.js',
        "currentVer": {
            "url":"http://125.39.218.101:3002/hall6/baohuang/baohuang_release_v3.501_2.zip",
            "md5":"",
            "hall_min_required": 3,
            "changelogs":[
                "1、明皇暗保步步惊心",
                "2、揭竿而起胜者为皇",
            ],
            "ver": 3.502,
            "size":"2.3M"
        },
        "defaultRes":"BaoHuangDefault",
        "iconUrl":"http://125.39.218.101:3002/hall6/imgs/hall_plugin_baohuang_icon.png"
    }
}

# plugin_chinesechess = {
#     "type":"download",
#     "params":{
#         "description": [
#             "1、益智益脑，国粹精华",
#             "2、四面楚歌，步步惊心"
#         ],
#         "gameId": 3,
#         "gameName": "中国象棋",
#         "gameType": 1,
#         "gameMark": "chess",
#         "ctorName" : "chess",
#         "isNew": 1,
#         "ctorPath" : "games/chess/script/build/chess_release.js",

#         "currentVer": {
#             "url":"http://125.39.220.70/hall6/dog/dog_release_v3.5_1.zip",
#             "md5":"",
#             "hall_min_required":6,
#             "changelogs": [
#                 "1、益智益脑，国粹精华",
#                 "2、四面楚歌，草木皆兵"
#             ],
#             "ver": 1,
#             "size":"1.4M"
#         },
#         "defaultRes":"ChessDefault",
#         "iconUrl":"http://ddz.dl.tuyoo.com/hall6/imgs/hall_plugin_dog_icon_1.png"
#     }
# }

package_v3_5 = {
    "type":"package",
    "params":{
        "iconUrl":"",
        "defaultRes":"PackageDefault",
        "pages":[
            {
             "form":"dizhu3x2",
             "nodes":[
                
             ]
            }
        ]
    }            
}

plugin_dizhu_double_v3_6    = clone_object(plugin_dizhu_double)
plugin_dizhu_single_v3_6    = clone_object(plugin_dizhu_single)
plugin_dizhu_laizi_v3_6     = clone_object(plugin_dizhu_laizi)
plugin_dizhu_match_v3_6     = clone_object(plugin_dizhu_match)
plugin_dizhu_happy_v3_6     = clone_object(plugin_dizhu_happy)
plugin_dizhu_classics_v3_6  = clone_object(plugin_dizhu_classics)
common_next_page_v3_6       = clone_object(common_next_page)

common_dizhu_classics_v3_5  = clone_object(common_dizhu_classics)
common_dizhu_happy_v3_5     = clone_object(common_dizhu_happy)
common_dizhu_match_v3_5     = clone_object(common_dizhu_match)
common_dizhu_laizi_v3_5     = clone_object(common_dizhu_laizi)
common_dizhu_single_v3_5    = clone_object(common_dizhu_single)
common_dizhu_double_v3_5    = clone_object(common_dizhu_double)
common_mj_blood_v3_5        = clone_object(common_mj_blood)
common_mj_xlch_v3_5         = clone_object(common_mj_xlch)
common_next_page_v3_5       = clone_object(common_next_page)


# 金三顺
plugin_t3flush_v3_5 = clone_object(plugin_t3flush)
plugin_t3flush_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/t3flush/t3flush_release_v3.502_1.zip'
plugin_t3flush_v3_5['params']['currentVer']['ver'] = 3.502
plugin_t3flush_v3_5['params']['currentVer']['size'] = '3M'
plugin_t3flush_v3_5['params']['currentVer']['md5'] = '9385b0ad0625e8e37d9b612c26b8bc62'


# 三张牌
plugin_t3card_v3_5 = clone_object(plugin_t3card)
plugin_t3card_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/t3card/t3card_release_v3.502.zip'
plugin_t3card_v3_5['params']['currentVer']['ver'] = 3.503
plugin_t3card_v3_5['params']['currentVer']['size'] = '3M'
plugin_t3card_v3_5['params']['currentVer']['md5'] = 'bfd74eb7d64b0b954b0abd9529b6b073'

# 德州扑克
plugin_texas_v3_5 = clone_object(plugin_texas)
plugin_texas_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/texas/texas_release_v3.501_2.zip'
plugin_texas_v3_5['params']['currentVer']['ver'] = 3.50101
plugin_texas_v3_5['params']['currentVer']['size'] = '2.17M'
plugin_texas_v3_5['params']['currentVer']['md5'] = '51b3274aa79f05422040853719ff5200'

plugin_texas_v3_6 = clone_object(plugin_texas)
plugin_texas_v3_6['params']['currentVer']['url'] = 'http://111.203.187.142:8002/hall6/texas/texas_v3.501_1.zip'
plugin_texas_v3_6['params']['currentVer']['ver'] = 3.50101
plugin_texas_v3_6['params']['currentVer']['size'] = '2.17M'
plugin_texas_v3_6['params']['currentVer']['md5'] = '51b3274aa79f05422040853719ff5200'

# 德州 3.6 PC大厅默认游戏配置
plugin_texas_v3_6_pc_type_1 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_pc_type_1['params']["gameType"] = 6
plugin_texas_v3_6_pc_type_1['params']["defaultRes"] = "TexasRoomList"
                  
plugin_texas_v3_6_pc_type_2 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_pc_type_2['params']["gameType"] = 7
plugin_texas_v3_6_pc_type_2['params']["defaultRes"] = "TexasSngMatch"
                  
plugin_texas_v3_6_pc_type_3 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_pc_type_3['params']["gameType"] = 8
plugin_texas_v3_6_pc_type_3['params']["defaultRes"] = "TexasMttMatch"

# 德州 3.6 手机大厅默认游戏配置
plugin_texas_v3_6_phone_type_1 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_phone_type_1['params']["gameType"] = 1
plugin_texas_v3_6_phone_type_1['params']["defaultRes"] = "Exciting"

plugin_texas_v3_6_phone_type_2 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_phone_type_2['params']["gameType"] = 2
plugin_texas_v3_6_phone_type_2['params']["defaultRes"] = "TexasRoomList"
                 
plugin_texas_v3_6_phone_type_3 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_phone_type_3['params']["gameType"] = 3
plugin_texas_v3_6_phone_type_3['params']["defaultRes"] = "TexasVIP"
                 
plugin_texas_v3_6_phone_type_4 = clone_object(plugin_texas_as_default)
plugin_texas_v3_6_phone_type_4['params']["gameType"] = 4
plugin_texas_v3_6_phone_type_4['params']["defaultRes"] = "TexasMatch"

# 水果
plugin_fruit_v3_5 = clone_object(plugin_fruit)
plugin_fruit_v3_5['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/fruit/fruit_v3.501_4.zip'
plugin_fruit_v3_5['params']['currentVer']['ver'] = 3.501
plugin_fruit_v3_5['params']['currentVer']['size'] = '0.6M'
plugin_fruit_v3_5['params']['currentVer']['md5'] = '3d5550902fbd6918d61bec4bdd547d96'


# 水果v3.6
plugin_fruit_v3_6 = clone_object(plugin_fruit_v3_5)
plugin_fruit_v3_6['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/fruit/fruit_v3.601_1.zip'
plugin_fruit_v3_6['params']['currentVer']['size'] = '0.5M'
plugin_fruit_v3_6['params']['currentVer']['md5'] = '3fa79d7759f05a2cd64795b2e265ddc2'
plugin_fruit_v3_6['params']['currentVer']['ver'] = 3.601
plugin_fruit_v3_6['params']['autoDownload'] = 4
plugin_fruit_v3_6['params']['currentVer']['hall_min_required'] = 6

# 新百人牛牛3.5
plugin_douniu_100_v3_5 = clone_object(plugin_douniu_100)
plugin_douniu_100_v3_5['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/douniu-hundreds/douniu-hundreds_v3.5_7.zip'
plugin_douniu_100_v3_5['params']['currentVer']['ver'] = 3.502
plugin_douniu_100_v3_5['params']['currentVer']['size'] = '1.6M'
plugin_douniu_100_v3_5['params']['currentVer']['md5'] = 'e7aeef12a935d44eb45009bc4604441e'

# 新百人牛牛3.6
plugin_douniu_100_v3_6 = clone_object(plugin_douniu_100_v3_5)
plugin_douniu_100_v3_6['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/douniu-hundreds/hundreds.zip'
plugin_douniu_100_v3_6['params']['currentVer']['size'] = '0.5M'
plugin_douniu_100_v3_6['params']['currentVer']['md5'] = '3fa79d7759f05a2cd64795b2e265ddc2'
plugin_douniu_100_v3_6['params']['currentVer']['ver'] = 3.601
plugin_douniu_100_v3_6['params']['autoDownload'] = 4
plugin_douniu_100_v3_6['params']['currentVer']['hall_min_required'] = 6

# =========================================================================================================== 拼十 start ==================
plugin_douniu_crazy_v3_5 = clone_object(plugin_douniu_crazy)
plugin_douniu_crazy_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/douniu/douniu_release_v3.373_2.zip'
plugin_douniu_crazy_v3_5['params']['currentVer']['ver'] = 3.501
plugin_douniu_crazy_v3_5['params']['currentVer']['size'] = '2.5M'
plugin_douniu_crazy_v3_5['params']['currentVer']['md5'] = '6164b1dcfc8ef89b4e372ab8e719e9a3'

# 3.502大厅使用
plugin_douniu_crazy_v3_502 = clone_object(plugin_douniu_crazy)
plugin_douniu_crazy_v3_502['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/douniu/douniu_release_v3.502_1.zip'
plugin_douniu_crazy_v3_502['params']['currentVer']['ver'] = 3.502
plugin_douniu_crazy_v3_502['params']['currentVer']['size'] = '2.1M'
plugin_douniu_crazy_v3_502['params']['currentVer']['md5'] = 'b342bffa8f4567924276401806b6e04d'

# 3.6大厅使用
plugin_douniu_crazy_v3_601 = clone_object(plugin_douniu_crazy)
plugin_douniu_crazy_v3_601['params']['ctorPath'] = 'games/douniu/script/build/douniu_release.js'
plugin_douniu_crazy_v3_601['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/douniu/douniu_release_v3.601.zip'
plugin_douniu_crazy_v3_601['params']['currentVer']['ver'] = 3.6
plugin_douniu_crazy_v3_601['params']['currentVer']['size'] = '2.2M'
plugin_douniu_crazy_v3_601['params']['currentVer']['md5'] = 'c67917acb34e1a33b4b4cbfa376d51e5'

# 拼十老百人
plugin_douniu_old100_v3_5 = clone_object(plugin_douniu_old100)
plugin_douniu_old100_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/douniu/douniu_release_v3.373_2.zip'
plugin_douniu_old100_v3_5['params']['currentVer']['ver'] = 3.501
plugin_douniu_old100_v3_5['params']['currentVer']['size'] = '2.5M'
plugin_douniu_old100_v3_5['params']['currentVer']['md5'] = '6164b1dcfc8ef89b4e372ab8e719e9a3'
# =========================================================================================================== 拼十 end ==================

# 麻将
plugin_majiang_v3_5 = clone_object(plugin_majiang)
plugin_majiang_v3_5['params']['currentVer']['url'] = 'http://ddz.dl.tuyoo.com/hall6/majiang/majiang_release_v3.371_12.zip'
plugin_majiang_v3_5['params']['currentVer']['ver'] = 3.5
plugin_majiang_v3_5['params']['currentVer']['size'] = '3M'
plugin_majiang_v3_5['params']['currentVer']['md5'] = '6628fdeca24b5b67a7a903c021bdbb34'

# 跑狗游戏3.5
plugin_dog_v3_5 = clone_object(plugin_dog)
plugin_dog_v3_5['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/dog/dog_v3.5_5.zip'
plugin_dog_v3_5['params']['currentVer']['ver'] = 3.502
plugin_dog_v3_5['params']['currentVer']['size'] = '1.4M'
plugin_dog_v3_5['params']['currentVer']['md5'] = 'b694d01f71840a822111cd4d14b1f3b7'

# 跑狗游戏3.5 ios
plugin_dog_ios_v3_5 = clone_object(plugin_dog)
plugin_dog_ios_v3_5['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/dog/dog_v3.5_5.zip'
plugin_dog_ios_v3_5['params']['currentVer']['ver'] = 3.503
plugin_dog_ios_v3_5['params']['currentVer']['size'] = '1.4M'
plugin_dog_ios_v3_5['params']['currentVer']['md5'] = 'b694d01f71840a822111cd4d14b1f3b7'

# 跑狗v3.6
plugin_dog_v3_6 = clone_object(plugin_dog_v3_5)
plugin_dog_v3_6['params']['currentVer']['url'] = 'http://111.203.187.145:9010/hall6/dog/dog_v3.601_1.zip'
plugin_dog_v3_6['params']['currentVer']['size'] = '1.3M'
plugin_dog_v3_6['params']['currentVer']['md5'] = 'd4c34ea5438d83475c670c56e4ce6133'
plugin_dog_v3_6['params']['currentVer']['ver'] = 3.601
plugin_dog_v3_6['params']['autoDownload'] = 4
plugin_dog_v3_6['params']['currentVer']['hall_min_required'] = 6

# 保皇
plugin_baohuang_v3_5 = clone_object(plugin_baohuang)
plugin_baohuang_v3_5['params']['currentVer']['url'] = 'http://125.39.218.101:3002/hall6/baohuang/baohuang_release_v3.501_2.zip'
plugin_baohuang_v3_5['params']['currentVer']['ver'] = 3.5
plugin_baohuang_v3_5['params']['currentVer']['size'] = '3M'
plugin_baohuang_v3_5['params']['currentVer']['md5'] = '368c82bad1a107aadb4d5fe5d6793496'

