19 #ifndef TRINITYCORE_DYNAMICOBJECT_H
20 #define TRINITYCORE_DYNAMICOBJECT_H
47 void SetDuration(
int32 newDuration);
48 int32 GetDuration()
const;
49 void Delay(
int32 delaytime);
50 void SetAura(
Aura* aura);
52 void SetCasterViewpoint();
53 void RemoveCasterViewpoint();
56 void UnbindFromCaster();
bool Remove(ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *)
Definition: TypeContainerFunctions.h:104
Definition: UpdateFields.h:342
uint32 GetSpellId() const
Definition: DynamicObject.h:57
uint32 GetUInt32Value(uint16 index) const
Definition: Object.cpp:300
Unit * _caster
Definition: DynamicObject.h:64
Definition: SpellInfo.h:326
Aura * _removedAura
Definition: DynamicObject.h:63
Definition: UpdateFields.h:340
DynamicObjectType
Definition: DynamicObject.h:28
Aura * _aura
Definition: DynamicObject.h:62
Definition: UpdateFields.h:343
uint64 LowType
Definition: ObjectGuid.h:199
Definition: DynamicObject.h:35
Definition: DynamicObject.h:31
virtual void RemoveFromWorld() override
Definition: Object.cpp:1515
float GetFloatValue(uint16 index) const
Definition: Object.cpp:312
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
ObjectGuid const & GetGuidValue(uint16 index) const
Definition: Object.cpp:332
ObjectGuid GetCasterGUID() const
Definition: DynamicObject.h:58
virtual void AddToWorld()
Definition: Object.cpp:142
bool _isViewpoint
Definition: DynamicObject.h:66
#define TC_GAME_API
Definition: Define.h:134
float GetRadius() const
Definition: DynamicObject.h:59
Definition: Position.h:27
Definition: DynamicObject.h:32
Definition: ObjectGuid.h:189
Unit * GetCaster() const
Definition: DynamicObject.h:54
Definition: SpellAuras.h:116
Definition: DynamicObject.h:30
void Update(uint32 diff)
Definition: WeatherMgr.cpp:150
int32 _duration
Definition: DynamicObject.h:65