s_charSelectModelFrame
global · glue
- Address
0xb42174· 4 bytes, up to0xb42177- Type
void *- Meaning
- Holds the select screen's model frame, null at load; 0x472100 is its only writer
- Confidence
- verified, proof one
- Finding
- glue/select#script-functions
Finding: Script functions in glue: character select
0x4736c0 registers the 11 {name, function} pairs of 0x838578; 0x4736e0 removes them. An
index is truncated (__ftol), less 1; a first argument of the wrong type raises the usage
string.
| name | function | arguments | returns |
|---|---|---|---|
SetCharSelectModelFrame | 0x4731c0 | frame name | none |
SetCharSelectBackground | 0x473230 | file | none (Ghost light callback) |
GetCharacterListUpdate | 0x473270 | none | none; 0x4723d0 |
GetNumCharacters | 0x473280 | none | the count |
GetCharacterInfo | 0x4732a0 | index | eight (Character info) |
SelectCharacter | 0x473470 | index | none; −1 outside [−1, count), then 0x472740 |
DeleteCharacter | 0x4734c0 | index | none; a record's guid to 0x46b2e0 |
RenameCharacter | 0x473520 | index, name | none, 1 or nil |
UpdateSelectionCustomizationScene | 0x473640 | none | none |
GetCharacterSelectFacing | 0x473650 | none | degrees (Facing in degrees) |
SetCharacterSelectFacing | 0x473670 | degrees | the top of the stack |
RenameCharacter returns nothing unless the name is a non-empty string, the index is on the
roster and the flags hold 0x4000; the old name again, case folded, fires FORCE_RENAME_CHARACTER
(23) with CHAR_CREATE_NAME_IN_USE; else 0x46b340(name, guid) gives 1 when nonzero, nil when
zero. UpdateSelectionCustomizationScene calls 0x477860(1) on the selected component.
SetCharSelectModelFrame stores a frame of the model type with that name in 0xb42174
(0x472100); nothing clears the cell.
The derivation is in the doc.