mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9699] Drop item text ids generation.
Now item text not used as independent object (real item texts associated with item guid)
This commit is contained in:
parent
7a0cb930eb
commit
b48da9755f
3 changed files with 1 additions and 11 deletions
|
|
@ -681,7 +681,6 @@ class ObjectMgr
|
|||
uint32 GeneratePetNumber() { return m_PetNumbers.Generate(); }
|
||||
|
||||
void CreateItemText(uint32 guid, std::string text);
|
||||
void AddItemText(uint32 guid, std::string text) { mItemTexts[guid] = text; }
|
||||
std::string GetItemText( uint32 id )
|
||||
{
|
||||
ItemTextMap::const_iterator itr = mItemTexts.find( id );
|
||||
|
|
@ -911,7 +910,6 @@ class ObjectMgr
|
|||
IdGenerator<uint32> m_AuctionIds;
|
||||
IdGenerator<uint64> m_EquipmentSetIds;
|
||||
IdGenerator<uint32> m_GuildIds;
|
||||
IdGenerator<uint32> m_ItemTextIds;
|
||||
IdGenerator<uint32> m_MailIds;
|
||||
IdGenerator<uint32> m_PetNumbers;
|
||||
IdGenerator<uint32> m_GroupIds;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue