mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[8157] Fixes and some tables support finish for pleays pdumps.
* Restore mark character with duplicate for rename at login * Restore save mail item_text data * Finish implementaion for propertly load item_text data.
This commit is contained in:
parent
1b8ad033c5
commit
104158d93d
3 changed files with 37 additions and 18 deletions
|
|
@ -572,6 +572,7 @@ class ObjectMgr
|
|||
uint32 GeneratePetNumber();
|
||||
|
||||
uint32 CreateItemText(std::string text);
|
||||
void AddItemText(uint32 itemTextId, std::string text) { mItemTexts[itemTextId] = text; }
|
||||
std::string GetItemText( uint32 id )
|
||||
{
|
||||
ItemTextMap::const_iterator itr = mItemTexts.find( id );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue