Struktur konfigurasi objek lokal statis untuk simulasi metadata permainan.
JavaScript
// Konfigurasi objek referensi katalog lokal 666i
const localPlatformConfig = {
platformName: "666i",
environment: "local_test",
supportedGames: [
{ id: "076", title: "Queen Bounty", type: "Slot Daring" },
{ id: "025", title: "Hip Hop Panda", type: "Slot Daring" },
{ id: "104", title: "Lgd Monkey Kg", type: "Slot Daring" },
{ id: "194", title: "Mighty Mania", type: "Permainan Arkade" },
{ id: "146", title: "Tsar Treasures", type: "Slot Daring" }
],
sessionTimeoutMs: 3600000
};
function getFeaturedGame(config) {
return config.supportedGames.find(g => g.id === "076");
}
JSON
{
"platformName": "666i",
"environment": "local_test",
"supportedGames": [
{ "id": "076", "title": "Queen Bounty", "type": "Slot Daring" },
{ "id": "025", "title": "Hip Hop Panda", "type": "Slot Daring" },
{ "id": "104", "title": "Lgd Monkey Kg", "type": "Slot Daring" },
{ "id": "194", "title": "Mighty Mania", "type": "Permainan Arkade" },
{ "id": "146", "title": "Tsar Treasures", "type": "Slot Daring" }
],
"sessionTimeoutMs": 3600000
}