benilla-re systems structs docs

SignalLanguageListChanged

function · ui · orchestration

Address
0x49b970 · 10 bytes, up to 0x49b979
Meaning
Fires LANGUAGE_LIST_CHANGED
Confidence
verified, proof one
Finding
ui/chatlanguage#knowing-a-language

Finding: Knowing a language in ui: languages in chat

A character understands a language through a spell. Adding a spell whose first effect is 39 (SPELL_EFFECT_LANGUAGE) stores the spell id at [0xb700ac] + miscValue*4, where the misc value is the language id, and fires LANGUAGE_LIST_CHANGED (id 258) through the thunk 0x49b970. 0x5ec720 maps a language to the skill total of that spell's skill line for the active player only. Removing a spell clears every table slot holding its id and fires no event. A language the character does not know has skill 0.

The derivation is in the doc.

Callers 1

Callees 1

Calls and jumps by a bare address, from tables/calls.tsv.