mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Move WASM exports (mp_set_walk_animation, mp_set_idle_animation, mp_trigger_emote) from multiplayer.cpp into a dedicated wasm_exports.cpp, added to the isle target (guarded by both EMSCRIPTEN and ISLE_EXTENSIONS) so the linker keeps the symbols. Replace the polling mp_get_player_count export with push-based playerCountChanged CustomEvents dispatched from NetworkManager. The count only reflects players visible in the Isle world: null when the local player is outside Isle, filtered by remote player worldId when inside. Remove the now-unused GetPlayerCount() method. |
||
|---|---|---|
| .. | ||
| extensions | ||