Script::EnumerateServerChannels
function · ui · primitive
- Address
0x4a1790· 178 bytes, up to0x4a1841- Signature
int __fastcall (lua_State *L)- Meaning
- Pushes the shortcuts of the ChatChannels rows that apply in the current zone
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- ui/chatwindows#enumerating-server-channels
Finding: Enumerating server channels in ui: chat windows and their settings file
EnumerateServerChannels() returns the shortcut of each ChatChannels row that applies where the
player stands, in row order, or the name column when the shortcut is empty. It returns nothing when
the current zone is negative, past the AreaTable maximum or has no row. A row with flag 0x10 is
listed only in a zone whose AreaTable flags include 0x8 (a capital city). The 1.12.1 table holds six
rows: General, Trade (city), LocalDefense, WorldDefense, LookingForGroup, GuildRecruitment (city).
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- lua_checkstack lua
- lua_pushstring lua
Calls and jumps by a bare address, from tables/calls.tsv.