18 #ifndef TRINITYCORE_AREATRIGGER_H
19 #define TRINITYCORE_AREATRIGGER_H
41 void Delay(
int32 delaytime) { SetDuration(GetDuration() - delaytime); }
bool Remove(ContainerUnorderedMap< SPECIFIC_TYPE, KEY_TYPE > &elements, KEY_TYPE const &handle, SPECIFIC_TYPE *)
Definition: TypeContainerFunctions.h:104
int32 _duration
Definition: AreaTrigger.h:44
uint32 GetSpellId() const
Definition: AreaTrigger.h:38
uint32 GetUInt32Value(uint16 index) const
Definition: Object.cpp:300
int32 GetDuration() const
Definition: AreaTrigger.h:39
void SetDuration(int32 newDuration)
Definition: AreaTrigger.h:40
Definition: SpellInfo.h:326
Definition: UpdateFields.h:378
uint64 LowType
Definition: ObjectGuid.h:199
void Delay(int32 delaytime)
Definition: AreaTrigger.h:41
virtual void RemoveFromWorld() override
Definition: Object.cpp:1515
int32_t int32
Definition: Define.h:146
uint32_t uint32
Definition: Define.h:150
virtual void AddToWorld()
Definition: Object.cpp:142
#define TC_GAME_API
Definition: Define.h:134
Definition: Position.h:27
void Update(uint32 diff)
Definition: WeatherMgr.cpp:150
Definition: AreaTrigger.h:26