From 0ff233b15e4f4af953f3ca2fef561ef2d4c25d68 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Sun, 17 May 2026 03:25:54 -0500 Subject: [PATCH] README: split glue calls into their own table Pulls GetSavedCharacterOrder / SetSavedCharacterOrder out of the crowded CharacterList row and into a dedicated "GlueXML calls" table after the in-game Calls table. Makes the in-world / glue scope distinction visible at a glance and leaves room for future glue-side additions. --- README.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 937dcbc5..f4f16638 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Full per-function reference: **[docs/API.md](docs/API.md)**. | Namespace | Calls | |-----------|-------| | AddOns | `C_AddOns.DoesAddOnExist`, `C_AddOns.GetAddOnName`, `C_AddOns.GetAddOnNotes`, `C_AddOns.GetAddOnSecurity`, `C_AddOns.GetAddOnTitle`, `C_AddOns.IsAddOnLoadable` | -| CharacterList | `C_CharacterList.GetCharacterInfo`, `C_CharacterList.GetCharacters`, `C_CharacterList.GetNumCharacters`. **GlueXML-only** (registered on the glue Lua state, not visible in-world): `GetSavedCharacterOrder`, `SetSavedCharacterOrder` (persist to `WTF\Account\...\ClassicAPI.txt`) | +| CharacterList | `C_CharacterList.GetCharacterInfo`, `C_CharacterList.GetCharacters`, `C_CharacterList.GetNumCharacters` | | Chat | `GetCurrentChatGUID` | | Class | `FillLocalizedClassList` | | Combat | `InCombatLockdown` | @@ -46,6 +46,20 @@ Full per-function reference: **[docs/API.md](docs/API.md)**. | Unit | `GetUnitSpeed`, `UnitClassBase`, `UnitGUID`, `UnitIsAFK`, `UnitIsDND`, `UnitIsFeignDeath`, `UnitIsInMyGuild`, `UnitIsPossessed`, `UnitStandState` | | UnitAuras | `C_UnitAuras.GetAuraDataByIndex`, `C_UnitAuras.GetAuraDispelTypeColor`, `C_UnitAuras.GetBuffDataByIndex`, `C_UnitAuras.GetDebuffDataByIndex`, `C_UnitAuras.GetPlayerAuraBySpellID`, `C_UnitAuras.GetUnitAuraBySpellID`, `C_UnitAuras.GetUnitAuras` | +### GlueXML calls + +Registered on the **glue** Lua state (the engine that runs the login, +realm-select, and character-select screens) — *not* the in-world +FrameScript engine. In-world addons can't reach these; they exist +to support GlueXML patches that need a small persistence surface +across sessions. (Vanilla 1.12 glue ships no general-purpose +persistence API beyond `GetSavedAccountName`/`SetSavedAccountName`, +which is saturated by autologin.) + +| Group | Calls | +|-------|-------| +| CharacterOrder | `GetSavedCharacterOrder`, `SetSavedCharacterOrder` (persist to `WTF\Account\...\ClassicAPI.txt`) | + ### Macros Engine-level extensions to macro parsing and dispatch — no new Lua