benilla-re systems structs docs

Script::GetCharacterListUpdate

function · glue · orchestration

Address
0x473270 · 8 bytes, up to 0x473277
Signature
int __fastcall (lua_State *L)
Meaning
Empties the roster and requests the character list through 0x4723d0; returns nothing
Confidence
verified, proof one
Name from
the community database (idb)
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.

namefunctionargumentsreturns
SetCharSelectModelFrame0x4731c0frame namenone
SetCharSelectBackground0x473230filenone (Ghost light callback)
GetCharacterListUpdate0x473270nonenone; 0x4723d0
GetNumCharacters0x473280nonethe count
GetCharacterInfo0x4732a0indexeight (Character info)
SelectCharacter0x473470indexnone; −1 outside [−1, count), then 0x472740
DeleteCharacter0x4734c0indexnone; a record's guid to 0x46b2e0
RenameCharacter0x473520index, namenone, 1 or nil
UpdateSelectionCustomizationScene0x473640nonenone
GetCharacterSelectFacing0x473650nonedegrees (Facing in degrees)
SetCharacterSelectFacing0x473670degreesthe 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.

Callers 0

None by a direct call or jump.

Callees 1

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