s_onEnterPressed
global · ui
- Address
0x879c8c· 15 bytes, up to0x879c9a- Type
char[15]- Meaning
- Holds the script name OnEnterPressed of an edit box
- Confidence
- verified, proof one
- Finding
- ui/protected#input-event-flags
Finding: Input event flags in ui: protected actions
Three flags record that code runs inside a real input event, and all three are read by the gate:
0xcf4dc4 is 1 while an edit box runs its enter script; 0xcf4da0 is 1 while a frame's mouse
down or mouse up handler runs; and a dword at +0xd8 of the object at 0xb71290 is 1 while the
binding runner 0x4b7990 runs a key binding, which also zeroes the Lua context. So a key binding, a click handler and
an enter script can move the player, and a macro or an add-on's own call cannot.
The derivation is in the doc.