mirror of
https://github.com/mangosfour/server.git
synced 2025-12-20 16:37:04 +00:00
Small vehicle related code cleanup.
This commit is contained in:
parent
3f4821acfb
commit
0798b151cc
7 changed files with 14 additions and 12 deletions
|
|
@ -139,7 +139,7 @@ class MANGOS_DLL_DECL ObjectAccessor : public MaNGOS::Singleton<ObjectAccessor,
|
|||
static Object* GetObjectByTypeMask(Player const &, uint64, uint32 typemask);
|
||||
static Creature* GetNPCIfCanInteractWith(Player const &player, uint64 guid, uint32 npcflagmask);
|
||||
static Creature* GetCreature(WorldObject const &, uint64);
|
||||
static Creature* GetCreatureOrPet(WorldObject const &, uint64);
|
||||
static Creature* GetCreatureOrPetOrVehicle(WorldObject const &, uint64);
|
||||
static Unit* GetUnit(WorldObject const &, uint64);
|
||||
static Pet* GetPet(Unit const &, uint64 guid) { return GetPet(guid); }
|
||||
static Player* GetPlayer(Unit const &, uint64 guid) { return FindPlayer(guid); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue