1// Implement custom logic here to be executed when the user presses 2// the exit button of the GamePlatform 3function onExitGamePlatformEGT() { 4 console.log("exitGame..."); 5} 6// For all games there is additional button for reloading the game 7// when no connection occurs. You can implement what happens 8// when the user presses the reload button here 9function onReloadGamePlatformEGT() { 10 document.location.reload() 11} 12 13function receiveMessage(event) { 14 if (event.data) { 15 if (event.data.command == 'com.egt-bg.exit') onExitGamePlatformEGT(); 16 else if (event.data.command == 'com.egt-bg.reload') onReloadGamePlatformEGT(); 17 } 18} 19 20window.addEventListener("message", receiveMessage, false);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.