Panduan integrasi konfigurasi statis katalog permainan untuk delta575.
JavaScript
// Konfigurasi statis modul lokal delta575
const clientConfig = {
brand: "delta575",
locale: "id_ID",
supportedGames: [
{ id: "185", name: "Poker Kingdom", category: "Permainan Kartu" },
{ id: "174", name: "Dead Man Riches", category: "Slot" },
{ id: "049", name: "Dragon Tiger Luck", category: "Permainan Meja" },
{ id: "130", name: "Rave Party Fvr", category: "Slot" },
{ id: "131", name: "Hawaiian Tiki", category: "Slot" }
],
welcomePackageEligible: true
};
function getGameTitle(gameId) {
const game = clientConfig.supportedGames.find(item => item.id === gameId);
return game ? game.name : "Permainan Tidak Ditemukan";
}
JSON
{
"brand": "delta575",
"locale": "id_ID",
"supportedGames": [
{
"id": "185",
"name": "Poker Kingdom",
"category": "Permainan Kartu"
},
{
"id": "174",
"name": "Dead Man Riches",
"category": "Slot"
},
{
"id": "049",
"name": "Dragon Tiger Luck",
"category": "Permainan Meja"
},
{
"id": "130",
"name": "Rave Party Fvr",
"category": "Slot"
},
{
"id": "131",
"name": "Hawaiian Tiki",
"category": "Slot"
}
],
"welcomePackageEligible": true
}