diff options
Diffstat (limited to 'src/game/Player.h')
| -rw-r--r-- | src/game/Player.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/Player.h b/src/game/Player.h index 3bf99f073af..7796ecba624 100644 --- a/src/game/Player.h +++ b/src/game/Player.h @@ -860,7 +860,9 @@ class TRINITY_DLL_SPEC Player : public Unit void SendTransferAborted(uint32 mapid, uint8 reason, uint8 arg = 0); void SendInstanceResetWarning(uint32 mapid, uint32 time); + Creature* GetNPCIfCanInteractWith(uint64 guid, uint32 npcflagmask); bool CanInteractWithNPCs(bool alive = true) const; + GameObject* GetGameObjectIfCanInteractWith(uint64 guid, GameobjectTypes type) const; bool ToggleAFK(); bool ToggleDND(); |
