f08736d2dfba6fdb191af500f3ff2928b23e49e3
Bring `2006Scape-Web` platform hooks and TeaVM reflection support in-line with the shared `2006Scape Client` and `2006Scape-Android` implementations. ### Platform Hooks & Web Audio - `Class56_Sub1_Sub1.java` & `index.html` - Forwarded `boolean loop` from `method827` to `DesktopHooks.playMidiBytes(midiBytes, vol, loop)` and `window.scapeWebAudio.playMidi(bytes, volume, loop)` so FluidSynth honors `setPlayerLoop(loop ? -1 : 0)`. - Overrode `setLoop(boolean loop, boolean restartIfStopped)` to sync MIDI loop toggles immediately via `DesktopHooks.setMidiLoop` and `scapeWebAudio.setMidiLoop`. - `DesktopHooks.java` & `index.html` - Added browser `paste` and `focus` (`navigator.clipboard.readText()`) tracking to `window.scapeClipboardText` and implemented ASCII `32..122` filtering in `DesktopHooks.getClipBoard()`. - Updated `takeScreenshot` to use `<username or SERVER_NAME>_<timestamp>.png` and send `"A picture has been downloaded."` to in-game chat when `sendMessage` is `true`. - Removed duplicate `ensureHudAssets()` call in `drawModernMinimap`. ### TeaVM Script Reflection - `WebReflectionSupplier.java` - Added `WorldWebWalker` to `SCRIPTABLE_CLASSES` and expanded `isLangStr` (`lastIndexOf`, `charAt`, `split`) and `isUtilColl` (`set`, `indexOf`, `containsValue`, `keySet`, `values`).
Languages
Java
74.5%
HTML
24.3%
JavaScript
1.2%