mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 08:00:42 +00:00
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.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user