JavaScript
// Konfigurasi objek lokal platform mega388
const platformConfig = {
brandName: 'mega388',
locale: 'id',
supportedPlatforms: ['android'],
availableCategories: ['Slot', 'Permainan Meja'],
defaultGameCatalog: [
{ id: '139', name: 'Safari Wilds', category: 'Slot' },
{ id: '048', name: 'Muay Thai Champion', category: 'Slot' },
{ id: '160', name: 'Yakuza Honor', category: 'Slot' },
{ id: '117', name: 'Win Win Fpc', category: 'Permainan Meja' },
{ id: '148', name: 'Dragon Hatch2', category: 'Slot' }
]
};
function getGameMetadata(id) {
return platformConfig.defaultGameCatalog.find(game => game.id === id) || null;
}
// Ekspor objek konfigurasi untuk pemrosesan lokal
if (typeof module !== 'undefined') {
module.exports = { platformConfig, getGameMetadata };
}
JSON
{
"platform": {
"brand": "mega388",
"country": "id",
"environment": "production",
"supportedPlatforms": ["android"],
"activePromotion": {
"title": "Paket Pemain Baru",
"startDate": "2026-10-01",
"endDate": "2026-11-30"
}
}
}