s_realmListScriptFunctions
global · glue
- Address
0x837ea0· 80 bytes, up to0x837eef- Type
luaL_reg[10]- Meaning
- Pairs the ten realm list script names with their C functions, with no terminating pair
- Confidence
- verified, proof one
- Finding
- glue/realms#script-functions
Finding: Script functions in glue: the realm list
The ten pairs at 0x837ea0 ({name, function}, no terminator) are registered by 0x46f480 from the
glue screens' script setup and unregistered by name by 0x46f4a0. Each function takes lua_State
in ecx and returns its result count.
| name | arguments | returns |
|---|---|---|
RequestRealmList | flag (default 0) | 0; calls 0x46b8d0 with the flag |
CancelRealmListQuery | none | 0; calls 0x46b7e0 |
RealmListDialogCancelled | none | 0; calls 0x46b810 |
GetNumRealms | [category] | 1 |
GetRealmInfo | category[, index] | 8 |
ChangeRealm | category[, index] | 0 |
GetRealmCategories | none | the names pushed, or 1 |
SetPreferredInfo | category, pvp, rp | 0 |
SortRealms | key | 0 |
GetSelectedCategory | none | 1 |
These agree with tables/bindings.tsv, which leaves GetRealmCategories' arity open.
The derivation is in the doc.