CSimpleModel::GetScriptByName
function · ui · orchestration
- Address
0x76cc80· 92 bytes, up to0x76ccdb- Meaning
- Returns a Model's handler slot by name, adding OnUpdateModel and OnAnimFinished
- Confidence
- verified, proof two
- Finding
- ui/xmltypes#handler-names-by-type
Finding: Handler names by type in ui: what each widget type reads from XML
A frame finds a handler's slot by name through its slot 0xc; each type's resolver asks the frame's
first (frames, Script slots by name) and then compares its own names, ignoring case.
CheckButton shares Button's resolver, ScrollingMessageFrame asks SimpleHTML's first, and
MessageFrame and Frame add none.
| type | resolver | names it adds |
|---|---|---|
Button, CheckButton | 0x778c50 | OnClick, OnDoubleClick |
EditBox | 0x77a310 | OnEnterPressed, OnEscapePressed, OnSpacePressed, OnTabPressed, OnTextChanged, OnTextSet, OnCursorChanged, OnInputLanguageChanged, OnEditFocusGained, OnEditFocusLost |
Model | 0x76cc80 | OnUpdateModel, OnAnimFinished |
ScrollFrame | 0x786c40 | OnHorizontalScroll, OnVerticalScroll, OnScrollRangeChanged |
SimpleHTML | 0x7a3700 | OnHyperlinkEnter, OnHyperlinkLeave, OnHyperlinkClick |
ScrollingMessageFrame | 0x787d90 | OnMessageScrollChanged |
Slider | 0x789750 | OnValueChanged |
StatusBar | 0x7830d0 | OnValueChanged |
ColorSelect | 0x78b4f0 | OnColorSelect |
MovieFrame | 0x78c2e0 | OnMovieFinished, OnMovieShowSubtitle, OnMovieHideSubtitle |
The derivation is in the doc.
Callers 0
None by a direct call or jump.
Callees 2
- SStrCmpI storm
- CSimpleFrame::GetScriptByName ui
Calls and jumps by a bare address, from tables/calls.tsv.