Struktur konfigurasi objek lokal katalog game untuk pengembang tema aplikasi.
JavaScript
// Konfigurasi objek lokal katalog game st789
const clientConfig = {
platform: "st789",
domain: "st789game.vip",
locale: "id-ID",
defaultCategory: "Slot",
featuredGames: [
{ id: "106", name: "Emoji Riches", type: "Slot" },
{ id: "185", name: "Poker Kingdom", type: "Permainan Kartu" },
{ id: "043", name: "Captains Bounty", type: "Slot" },
{ id: "167", name: "Geisha Revenge", type: "Slot" },
{ id: "170", name: "Mr Treas Fort", type: "Slot" }
]
};
function getFeaturedTitles() {
return clientConfig.featuredGames.map(game => game.name);
}
JSON
{
"platform": "st789",
"domain": "st789game.vip",
"locale": "id-ID",
"defaultCategory": "Slot",
"featuredGames": [
{
"id": "106",
"name": "Emoji Riches",
"type": "Slot"
},
{
"id": "185",
"name": "Poker Kingdom",
"type": "Permainan Kartu"
},
{
"id": "043",
"name": "Captains Bounty",
"type": "Slot"
},
{
"id": "167",
"name": "Geisha Revenge",
"type": "Slot"
},
{
"id": "170",
"name": "Mr Treas Fort",
"type": "Slot"
}
]
}