Changeset 85 for trunk/src/game/ObjectMgr.h
- Timestamp:
- 11/19/08 13:32:53 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/ObjectMgr.h
r79 r85 690 690 static bool CheckDeclinedNames(std::wstring mainpart, DeclinedName const& names); 691 691 692 void LoadSpellDisabledEntrys(); 693 bool IsPlayerSpellDisabled(uint32 spellid) { return (m_DisabledPlayerSpells.count(spellid) != 0); } 694 bool IsCreatureSpellDisabled(uint32 spellid) { return (m_DisabledCreatureSpells.count(spellid) != 0); } 695 692 696 int GetIndexForLocale(LocaleConstant loc); 693 697 LocaleConstant GetLocaleForIndex(int i); … … 798 802 typedef std::set<std::string> ReservedNamesMap; 799 803 ReservedNamesMap m_ReservedNames; 804 805 std::set<uint32> m_DisabledPlayerSpells; 806 std::set<uint32> m_DisabledCreatureSpells; 800 807 801 808 GraveYardMap mGraveYardMap;