ClientInitializeGame
function · client
- Address
0x401570· 646 bytes, up to0x4017f5- Meaning
- Initializes the game systems, among them the spell tables through 0x6dda50
- Confidence
- inferred
- Name from
- the community database (idb)
- Finding
- spell/tables#startup-build-of-the-indexes
Finding: Startup build of the indexes in spell: tables
SpellTableInitialize runs once, called from ClientInitializeGame (0x401570). It walks
SkillRaceClassInfo.dbc in row order and adds one race-class node per run of consecutive rows
with equal skill line (+0x04): the node's hash is the skill line, +0x18 the run's first row and
+0x1c its length. It does the same over SkillCostsData.dbc, keyed by +0x04, into the cost
index. Then, for every CharBaseInfo.dbc row whose race byte (+0x00) is an id ChrRaces.dbc
holds, it offers every SkillLineAbility.dbc row to 0x6ddbe0 with that race and the row's class
byte (+0x01). A key that reappears after another key starts a second node.
The derivation is in the doc.
Callers 1
- CGlueMgr::Idle glue
Callees 38
- MovementInit client
- EventRegister core
- 0x443620 client
- SndInterfaceWorldInitialize sound
- SetWeatherAmbience sound
- ClntObjMgrCreate objectlayer
- ClntObjMgrCreatePools objectlayer
- GetActiveCamera ui
- CGGameUI::InitializeGame ui
- SmartScreenRectClearAllGrids ui
- GxMasterEnableSet gx
- ClientServices::GetCurrent net
- ClientServices::SetMessageHandler net
- GetSelectedRealm net
- FriendList::Initialize net
- InitializeAccountData net
- Trade_C::Initialize objectlayer
- RegisterDynamicObjectWatchers objectlayer
- RegisterCorpseWatchers objectlayer
- RegisterContainerWatchers objectlayer
- RegisterItemWatchers objectlayer
- PlayerInitialize objectlayer
- AddPlayerTypeWatchers objectlayer
- RegisterGameObjectWatchers objectlayer
- RegisterUnitCVars objectlayer
- CGUnit_C::Initialize objectlayer
- InitializeSelectionCircle objectlayer
- SMemAlloc storm
- CWorld::LoadMap terrain
- CWorld::SetLoadProgressCallback terrain
- ResetWeather lighting
- ViolenceLevelsInitialize unassigned
- ClientInitializeGameTime unassigned
- LootInitialize unassigned
- PlayerNameNoop playername
- PlayerNameInitialize playername
- WorldTextInitialize playername
- SpellTableInitialize spell
Calls and jumps by a bare address, from tables/calls.tsv.