<?php

namespace App\Game\Config;

class IgtData
{
    // 从 IGT/config/games.php 提取的全局配置（按需使用）
    public static $global = [
        'mainSiteUrl'       => 'https://{api}/',
        'rgsServer'         => 'https://{api}/skb',
        'rgsCecServer'      => 'https://{api}/cec',
        'flightdeckUrl'     => 'https://{api}/flightdeck/gs/flightdeck',
        'consoleBaseUrl'    => 'https://{cdn}/skins/DV13',
        'cdnBaseUrl'        => 'https://{cdn}',
        //jackpot
        'jackpotUrl'        => 'https://{api}',
        'skbGatewayPath'    => '/skb/gateway/1.4.0',
        'platformVersion'   => '1.4.0',
        'skbGateWayVersion' => '1.4.0',
        'buildnumber'       => 'RGS-6.8.0.UF.DEMO.CL429527_96',
        'requireVersion'    => '1.4.14.2',
        'widgetUrl'         => 'https://isbwidgeturl',
        'requestTimeout'    => '999000',
        'requestRetries'    => '3',
        'denomamount'       => '0.05',
        'languages'         => ['en', 'cs', 'da', 'de', 'es', 'fi', 'fr-CA', 'fr', 'it', 'no', 'pt', 'sv'],

    ];

    // 可提供一个示例游戏映射，便于前端或接口查询
    public static $games = [
        // Cash Eruption - 默认游戏
        '200-1551-001' => [
            'gameTitle'        => 'Cash Eruption',
            'game'             => 'Cash Eruption',
            'studio'           => 'belgrade',
            'gameType'         => 'S',
            'gamePath'         => '/studios/belgrade/games/CashEruption',  // 相对路径
            'gameWindowWidth'  => '1024',
            'gameWindowHeight' => '864',
            'minbet'           => '0.01',
            'gameVersion'      => '1.0.10',
            'denomid'          => '461',
            'revisionTag'      => 'b273c30c-b0ed-4ea1-b660-23021844f934',
            'assetPack'        => 'mobile',  // 默认值，会被自动检测覆盖
            'gleVersion'       => '1.0',
            'spaceBarSpin'     => false,
            'softDisplay'      => false,
            'turboMode'        => false,
            'speedOption'      => true,
            'slamStop'         => 'OFF',
            'dealerVoice'      => 'OFF',
            'rgPresentation'   => true,
            // Console路径配置
            'tCustomPath'      => '/console-drop.html?config_path=../Marketing/console.json',
            'bCustomPath'      => '/console-gaff.html',
        ],

        // Sample Game 2
        '200-1259-001' => [
            "gameTitle"        => "Wheel of Fortune Triple Extreme Spin",
            "game"             => "Wheel of Fortune Triple Extreme Spin",
            "studio"           => "saber",
            "gameType"         => "S",
            "gamePath"         => "/studios/saber/games/WheelOfFortuneTripleExtremeSpinSKB",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "864",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.9",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "3.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1609-002' => [
            "gameTitle"        => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
            "game"             => "Wheel of Fortune Gold Spin Triple Red Hot 7s",
            "studio"           => "onseo",
            "gameType"         => "S",
            "gamePath"         => "/studios/onseo/games/WheelOfFortuneGoldSpinTripleRedHot7s/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.0",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1443-011' => [
            "gameTitle"        => "MegaJackpots Wheel of Fortune On Air",
            "game"             => "MegaJackpots Wheel of Fortune On Air",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/MegaJackpotsWheelOfFortune",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "800",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.10",
            "denomid"          => "2489",
            "revisionTag"      => "b6d55c7e-75c2-4be9-a27d-6820adde6c99",
            "assetPack"        => "mobile",
            "gleVersion"       => "1.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-04-442",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-04-442",
        ],
        '200-1219-001' => [
            "gameTitle"        => "Double Diamond",
            "game"             => "Double Diamond",
            "studio"           => "saber",
            "gameType"         => "S",
            "gamePath"         => "/studios/saber/games/DoubleDiamondSKB",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "864",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.4",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1342-001' => [
            "gameTitle"        => "Smash The Pig",
            "game"             => "Smash The Pig",
            "studio"           => "belgrade",
            "gameType"         => "S",
            "gamePath"         => "/studios/belgrade/games/SmashThePig",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "864",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.7",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "1.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1666-001' => [
            "gameTitle"        => "MegaJackpots Da Vinci Diamonds",
            "game"             => "MegaJackpots Da Vinci Diamonds",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/MegaJackpotsDavinciDiamonds/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.0",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "4.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-01-1",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-01-1",
        ],
        '200-1196-001' => [
            "gameTitle"        => "Wolf Run",
            "game"             => "Wolf Run",
            "studio"           => "crdc",
            "gameType"         => "S",
            "gamePath"         => "/studios/crdc/games/WolfRun/",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "864",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.8",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "4.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1173-001' => [
            "gameTitle"        => "Cleopatra",
            "game"             => "Cleopatra",
            "studio"           => "crdc",
            "gameType"         => "S",
            "gamePath"         => "/studios/crdc/games/CleopatraSKB/",
            "gameWindowWidth"  => "1024",
            "gameWindowHeight" => "864",
            "minbet"           => "0.01",
            "gameVersion"      => "1.1.2",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "6.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1674-001' => [
            "gameTitle"        => "Fort Knox Cats",
            "game"             => "Fort Knox Cats",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/FortKnoxCatsCt/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.2",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "1.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-27-302",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-27-302",
        ],
        '200-1645-001' => [
            "gameTitle"        => "Prosperity Link Wan Shi Ru Yi",
            "game"             => "Prosperity Link Wan Shi Ru Yi",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/ProsperityLinkWanShiRuYi/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.1.1",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-33-282",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-33-282",
        ],
        '200-1662-001' => [
            "gameTitle"        => "Prosperity Link Cai Yun Heng Tong",
            "game"             => "Prosperity Link Cai Yun Heng Tong",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/ProsperityLinkCaiYunHengTong/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.1.1",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/L01-33-282",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/L01-33-282",
        ],
        '200-1682-001' => [
            "gameTitle"        => "MegaJackpots Ocean Spirit",
            "game"             => "MegaJackpots Ocean Spirit",
            "studio"           => "onseo",
            "gameType"         => "S",
            "gamePath"         => "/studios/onseo/games/MegaJackpotsOceanSpirit/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.1",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html",
            "jackpotMeterPath" => "/jackpotmeter/ws/meter/M01-01-1",
            "jackpotWinsPath"  => "/jackpotmeter/ws/meter/wins/M01-01-1",
        ],
        '200-1724-001' => [
            "gameTitle"        => "Cash Eruption High Stakes",
            "game"             => "Cash Eruption High Stakes",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/CashEruptionHighLimit",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.1",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "1.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1696-001' => [
            "gameTitle"        => "Book Of Unseen",
            "game"             => "Book Of Unseen",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/BookOfUnseenBonusBuy/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.2",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ],
        '200-1664-001' => [
            "gameTitle"        => "Mystery Of The Lamp Treasure Oasis",
            "game"             => "Mystery Of The Lamp Treasure Oasis",
            "studio"           => "interactive",
            "gameType"         => "S",
            "gamePath"         => "/studios/interactive/games/MysteryOfTheLampTreasureOasis/",
            "gameWindowWidth"  => "1440",
            "gameWindowHeight" => "906",
            "minbet"           => "0.01",
            "gameVersion"      => "1.0.2",
            "denomid"          => "461",
            "revisionTag"      => "b273c30c-b0ed-4ea1-b660-23021844f934",
            "assetPack"        => "mobile",
            "gleVersion"       => "2.0",
            "spaceBarSpin"     => false,
            "softDisplay"      => false,
            "turboMode"        => false,
            "speedOption"      => true,
            "slamStop"         => "OFF",
            "dealerVoice"      => "OFF",
            "rgPresentation"   => true,
            "tCustomPath"      => "/console-drop.html?config_path=../Marketing/console.json",
            "bCustomPath"      => "/console-gaff.html"
        ]
    ];

    // 语言字典（如需在后端提供 IGT 文案，可按需暴露）
    public static $languages = [
        'en'    => true,
        'cs'    => true,
        'da'    => true,
        'de'    => true,
        'es'    => true,
        'fi'    => true,
        'fr-CA' => true,
        'fr'    => true,
        'it'    => true,
        'no'    => true,
        'pt'    => true,
        'sv'    => true,
    ];
}


