CGGameUI::Shutdown
function · ui · primitive
- Address
0x490bd0· 270 bytes, up to0x490cdd- Meaning
- Leaves the world, signals PLAYER_LOGOUT, writes the saved variables and destroys the interface
- Confidence
- verified, proof one
- Finding
- ui/savedvariables#saved-variables-written
Finding: Saved variables, written in ui: saved variables
The saved-variables files are written only in the interface's shutdown, after
PLAYER_LEAVING_WORLD and PLAYER_LOGOUT: the flat file, then each loaded add-on's files.
AddOns.txt follows them there; the glue's SaveAddOns writes it too. For each loaded
add-on its account file and character file are rewritten from its declared names, an existing file
first renamed to .bak (MoveFileW, which fails when a .bak exists; nothing deletes it, so the file is then overwritten in place), each name read from the globals with the context word 0; with no names the
file is deleted. The realm-less character file is deleted. A written add-on is marked not
loaded. The flat file holds the names RegisterForSave collected, which raises unless called with
context 0.
The derivation is in the doc.
Callers 2
Callees 28
- EventUnregister core
- AsyncFileReadWaitAll client
- SuppressInterfaceSounds sound
- ResumeInterfaceSounds sound
- ClntObjMgrObjectPtr objectlayer
- ClntObjMgrGetActivePlayer objectlayer
- LeaveWorldUI ui
- CGGameUI::UnregisterScriptFunctions ui
- SaveFlatSavedVariables ui
- CGGameUI::SelectTarget ui
- ClearSurveyAnswers ui
- RegisterChatSettingsSaver ui
- RetireAllBubbles ui
- BindingsDestroy ui
- WriteBindingSets ui
- ReverseScreenFade ui
- ClearMacros ui
- SaveMacrosIfDirty ui
- SaveAddOnEnableState ui
- SaveAddOnVariables ui
- FreeCursorPictureTexture ui
- 0x5556c0 dbcache
- WriteAccountData net
- TradeCancel objectlayer
- ReleaseAllNamePlates objectlayer
- CGUnit_C::StopAutoMove objectlayer
- SaveConfig cvar
- FrameScript_SignalEvent ui
Calls and jumps by a bare address, from tables/calls.tsv.