mirror of
https://github.com/mangosfour/server.git
synced 2025-12-26 16:37:06 +00:00
[10750] Convert Gameobject owner to objectguid use.
This commit is contained in:
parent
6154cb3b43
commit
bbd34562a8
4 changed files with 9 additions and 9 deletions
|
|
@ -40,7 +40,7 @@ class DynamicObject : public WorldObject
|
|||
uint32 GetSpellId() const { return m_spellId; }
|
||||
SpellEffectIndex GetEffIndex() const { return m_effIndex; }
|
||||
uint32 GetDuration() const { return m_aliveDuration; }
|
||||
uint64 GetCasterGUID() const { return GetUInt64Value(DYNAMICOBJECT_CASTER); }
|
||||
ObjectGuid const& GetCasterGuid() const { return GetGuidValue(DYNAMICOBJECT_CASTER); }
|
||||
Unit* GetCaster() const;
|
||||
float GetRadius() const { return m_radius; }
|
||||
bool IsAffecting(Unit *unit) const { return m_affected.find(unit->GetObjectGuid()) != m_affected.end(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue