mirror of
https://github.com/mangosfour/server.git
synced 2025-12-27 19:37:04 +00:00
Simplify check in reagent cheking code. Small code cleanups after recent commit.
This commit is contained in:
parent
f1cc9dc319
commit
fc684dc737
5 changed files with 10 additions and 10 deletions
|
|
@ -1102,7 +1102,7 @@ class MANGOS_DLL_SPEC Player : public Unit
|
|||
bool HasBankBagSlot( uint8 slot ) const;
|
||||
bool HasItemCount( uint32 item, uint32 count, bool inBankAlso = false ) const;
|
||||
bool HasItemFitToSpellReqirements(SpellEntry const* spellInfo, Item const* ignoreItem = NULL);
|
||||
bool CanNoReagentCast(SpellEntry const* spellInfo);
|
||||
bool CanNoReagentCast(SpellEntry const* spellInfo) const;
|
||||
Item* GetItemOrItemWithGemEquipped( uint32 item ) const;
|
||||
uint8 CanTakeMoreSimilarItems(Item* pItem) const { return _CanTakeMoreSimilarItems(pItem->GetEntry(),pItem->GetCount(),pItem); }
|
||||
uint8 CanTakeMoreSimilarItems(uint32 entry, uint32 count) const { return _CanTakeMoreSimilarItems(entry,count,NULL); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue