RynthServers/Plugins/Shared/ServerPack
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Daniel Wallace 0ba3b5909e ServerPack: use the engine's web panel when it has one
OpenWeb now opens the page in RynthCore's in-game web panel (plugin API v93)
and falls back to the system browser only when the panel refused before
navigating. A handle from OpenWebPanel only means queued, so the open is
answered from OnTick (PollWeb), which reads GetWebPanelState until it decides:
Loading/Ready opened; Failed+OpenedInBrowser the engine opened the browser
(do nothing more); Failed+ProcessFailed spent; Failed+RuntimeMissing or
CreateFailed with no browser and no navigation falls back. A 20 s poll
timeout answers NoAnswer (neutral, no fallback). done fires exactly once.

ServerWebPanel.cs is pure (an int/string engine seam), so the mappings and
the once-only answer are tested with a fake engine. Every SDK web-panel name
sits in four NoInlining helpers in ServerPackWeb.cs, each called inside
catch (MissingMethodException) and catch (TypeLoadException); a source scan
pins that, the poll's place in OnTick, and the absence of locks. CloseWeb
closes only the handle this plugin opened.

Builds only against a RynthCore SDK with the web panel (0ef12d7); against
418d80b the helpers do not compile (8 errors, all in ServerPackWeb.cs).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-08 13:37:49 -08:00
..
ServerChatRequest.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackCommands.cs ServerPack: ServerUsageLines, a server's own /rserver usage lines 2026-11-08 13:18:45 -08:00
ServerPackExports.cs RynthServers as of 2026-11-08 (internal 471970b): release 2026.11.8.1 2026-11-08 15:48:49 -05:00
ServerPackInfo.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackInterface.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackModel.cs RynthServers as of 2026-11-08 (internal 471970b): release 2026.11.8.1 2026-11-08 15:48:49 -05:00
ServerPackPages.cs Snapshot for release 2026.10.27.1 (internal bf8b2f3) 2026-10-27 08:41:02 -04:00
ServerPackPlugin.cs ServerPack: use the engine's web panel when it has one 2026-11-08 13:37:49 -08:00
ServerPackProfile.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackQuestPack.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackRefresh.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackSettings.cs Snapshot for release 2026.10.21.1 (internal 32a418d) 2026-10-21 09:35:08 -04:00
ServerPackUi.cs ServerPack: card actions add no separator of their own 2026-11-08 13:18:37 -08:00
ServerPackWeb.cs ServerPack: use the engine's web panel when it has one 2026-11-08 13:37:49 -08:00
ServerPackWindows.cs RynthServers as of 2026-11-08 (internal 471970b): release 2026.11.8.1 2026-11-08 15:48:49 -05:00
ServerPlugin.props ServerPack: use the engine's web panel when it has one 2026-11-08 13:37:49 -08:00
ServerWebOpen.cs ServerPack: use the engine's web panel when it has one 2026-11-08 13:37:49 -08:00
ServerWebPanel.cs ServerPack: use the engine's web panel when it has one 2026-11-08 13:37:49 -08:00