DreamWeave: website links, logged in by launch code #2
1 changed files with 5 additions and 0 deletions
RynthDreamWeave: declare minEngineApi 90 so release builds stop raising it to the SDK API
The csproj declared nothing, so ServerPlugin.props defaulted it to 66, and a release build (RynthPluginSharedSdk=true) raises any declared value under 88 to the SDK's API (95): the plugin would then load on no current engine. Audit of every RynthCore SDK member the plugin compiles against (DreamWeave's own code, the shared ServerPack and the RynthSuite files it links). "Isolated" means called only from a [MethodImpl(NoInlining)] method behind its Has* check, which an older Runtime\PluginShared SDK copy cannot fail; a Has* check inside an ordinary method does not protect it. Not isolated, so the minimum must cover them: - v90 RynthAcPanel: type of the static field MainAcPanels (DreamWeaveSkills.cs) - v90 IsAcPanelOpen, AcPanel, RynthAcPanelOp, HasAcPanels: DreamWeaveSkills.cs (HasAcPanels checked in the same method) - v90 PanelScale, PanelDragWithLastItem, GetIconTexture, RynthIconKind: DreamWeave/SkillsPanel.cs - v90 HasFramelessWindows: ServerPackPlugin.BuildSectionsJson - v89 SetPanelOpen, HasSetPanelOpen, RynthPanelOpen: ServerPackPlugin.SetWindow, DreamWeaveSkills.cs, SkillsPanel.cs (Has* checked in the same method) - v79 HasTraining, TryGetTrainingInfo, TrainSkill: DreamWeave/SkillsReader.cs (HasTraining checked in the same method) - v78 HasServerMessages, SetServerMessageInterest: ServerPackPlugin.Initialize; RynthCore.PluginSdk.Net.ServerMessage: DreamWeaveSkills.ServerMessage - before v62 (table fields ahead of the v62 append marker in RynthCoreApiNative.cs): Log, WriteToChat, InvokeChatParser, TryGetWorldName, TryGetAccountName, TryGetObjectName, TryGetPlayerVitals, TryGetObjectIntProperty, TryGetObjectQuadProperty, GetPlayerId, ImGuiContext, Version and their Has* checks Isolated, so they do not count: - v94 HasWebPanel, OpenWebPanel, GetWebPanelState, CloseWebPanel and the WebPanel* types: only in ServerPackWeb.cs's NoInlining *Core methods, which catch MissingMethodException and TypeLoadException (from pr/serverpack-web-panel-engine on) - the bar menu (v95) uses no SDK member: it compares Host.Version to DreamWeaveWeb.BarMenuEngineApi Highest non-isolated API: 90. Declared 90. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
commit
b72720aca4
|
|
@ -11,6 +11,11 @@
|
||||||
<RynthPluginServerHosts>play.acdreamweave.com</RynthPluginServerHosts>
|
<RynthPluginServerHosts>play.acdreamweave.com</RynthPluginServerHosts>
|
||||||
<RynthPluginServerWorldNames>DreamWeave|Dream Weave</RynthPluginServerWorldNames>
|
<RynthPluginServerWorldNames>DreamWeave|Dream Weave</RynthPluginServerWorldNames>
|
||||||
<RynthPluginDescription>DreamWeave only: the server card (rules, server features, player commands, links, account setup) in its own window on the RynthCore bar, with Market, Suit Builder and Ability Planner buttons that open the website logged in as this account, the retail Character panel whose XP for next level keeps reading past level 275, and the bank check every minute that gives Lum/hr its luminance.</RynthPluginDescription>
|
<RynthPluginDescription>DreamWeave only: the server card (rules, server features, player commands, links, account setup) in its own window on the RynthCore bar, with Market, Suit Builder and Ability Planner buttons that open the website logged in as this account, the retail Character panel whose XP for next level keeps reading past level 275, and the bank check every minute that gives Lum/hr its luminance.</RynthPluginDescription>
|
||||||
|
<!-- Declared 90, not the 66 default: a release build raises anything under 88 to the SDK's API, so the plugin would load on no current engine.
|
||||||
|
90 is the highest API among the SDK members called outside an isolated NoInlining method: RynthAcPanel (a static field's type),
|
||||||
|
IsAcPanelOpen, AcPanel, PanelScale, PanelDragWithLastItem, GetIconTexture and HasFramelessWindows (v90). Anything newer must stay
|
||||||
|
in a NoInlining method behind its Has* check, as the web panel's (v94) calls do; the bar menu only compares Host.Version. -->
|
||||||
|
<RynthPluginMinEngineApi>90</RynthPluginMinEngineApi>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue