mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
feat: resolve title names from CharTitles.dbc in SMSG_TITLE_EARNED
Previously SMSG_TITLE_EARNED only showed the numeric bit index. Now it lazy-loads CharTitles.dbc and formats the full title string with the player's name (e.g. "Title earned: Commander Kelsi!"). - Add CharTitles layout to WotLK (TitleBit=36) and TBC (TitleBit=20) layouts - loadTitleNameCache() maps each titleBit to its English title string - SMSG_TITLE_EARNED substitutes %s placeholder with local player's name - Falls back to "Title earned (bit N)!" if DBC is unavailable
This commit is contained in:
parent
cd01d07a91
commit
81b95b4af7
4 changed files with 69 additions and 6 deletions
|
|
@ -31,6 +31,7 @@
|
|||
"ReputationBase0": 10, "ReputationBase1": 11,
|
||||
"ReputationBase2": 12, "ReputationBase3": 13
|
||||
},
|
||||
"CharTitles": { "ID": 0, "Title": 2, "TitleBit": 20 },
|
||||
"AreaTable": { "ID": 0, "MapID": 1, "ParentAreaNum": 2, "ExploreFlag": 3 },
|
||||
"CreatureDisplayInfoExtra": {
|
||||
"ID": 0, "RaceID": 1, "SexID": 2, "SkinID": 3, "FaceID": 4,
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
"ReputationBase0": 10, "ReputationBase1": 11,
|
||||
"ReputationBase2": 12, "ReputationBase3": 13
|
||||
},
|
||||
"CharTitles": { "ID": 0, "Title": 2, "TitleBit": 36 },
|
||||
"Achievement": { "ID": 0, "Title": 4, "Description": 21, "Points": 39 },
|
||||
"AchievementCriteria": { "ID": 0, "AchievementID": 1, "Quantity": 4, "Description": 9 },
|
||||
"AreaTable": { "ID": 0, "MapID": 1, "ParentAreaNum": 2, "ExploreFlag": 3 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue