59 files, from working commit b1a079a. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2.9 KiB
Native realm-selection integration
Forever 70334 already contains the styled realm-selection UI; replacing its
visual frame is not the first requirement. The native Turtle authentication
adapter currently parses the real auth-server realm list and selects the
advertised local realm before it opens the engine-owned world connection. It
does not yet publish that list into Forever's realm-list model or prove the
corresponding C_Login state transition.
Verified UI contract
The extracted Forever Glue sources are under
runtime/native-login-ui/interface/addons:
blizzard_glueparent/mainline/glueparent.lua::GlueParent_GetBestScreenchoosesrealmlistwhenC_Login.GetState().hasRealmListis true. Therealmlistscreen is valid only with that state flag and no pending super-district selection.blizzard_gluexml/mainline/realmlist.lua::RealmList_Updategets categories and realm addresses fromC_RealmList.GetAvailableCategoriesandGetRealmsInCategory.RealmList_InitButtonreads each realm withGetRealmInfoand renders the server-provided name, version, PvP/RP type, character count, compatibility state, and population state.RealmList_OnOkcallsC_RealmList.ConnectToRealmfor the selected online realm. Offline entries are disabled; a full realm with no characters gets the existing confirmation popup.blizzard_gluexml/mainline/characterselect/characterselectutil.lua::ChangeRealmrequests the built-in realm list throughC_RealmList.RequestChangeRealmList. The character-select nav bar can hide this control when the active Forever game ruleDisableRealmSelectionis set.
These are direct source findings. They establish a reusable, visually integrated UI and its API boundary; they do not establish that native Turtle realm metadata currently reaches those APIs.
Remaining native backend work
The native auth worker currently chooses a genuine advertised realm before
calling the verified Forever realm-open path. The active test deployment
advertises one local realm. Multi-realm selection must move that choice to the
user-facing UI and pass the chosen advertised realm back through the same
validated native world-auth/transport lifecycle. It must preserve server name,
address, type, population and online status from the parsed realm list. The
current implementation has not demonstrated hasRealmList, populated
C_RealmList records, the remembered-realm behavior, or a change-realm cycle
in the actual client.
Do not change hasRealmList, call ConnectToRealm with guessed metadata, or
invent fallback realm values. The next step is to trace the native API/model
provider that owns C_RealmList and the corresponding C_Login state events,
then feed it the already-authenticated real realm-list records. The default
Forever screens can then provide manual selection and the existing character
screen's Change Realm action without a separate visual replacement.