![]() |
TrinityCore
|
#include <ScriptedCreature.h>
Public Types | |
typedef GuidList | StorageType |
typedef StorageType::iterator | iterator |
typedef StorageType::const_iterator | const_iterator |
typedef StorageType::size_type | size_type |
typedef StorageType::value_type | value_type |
Public Member Functions | |
SummonList (Creature *creature) | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
iterator | erase (iterator i) |
bool | empty () const |
size_type | size () const |
void | clear () |
void | Summon (Creature const *summon) |
void | Despawn (Creature const *summon) |
void | DespawnEntry (uint32 entry) |
void | DespawnAll () |
template<typename T > | |
void | DespawnIf (T const &predicate) |
template<class Predicate > | |
void | DoAction (int32 info, Predicate &&predicate, uint16 max=0) |
void | DoZoneInCombat (uint32 entry=0) |
void | RemoveNotExisting () |
bool | HasEntry (uint32 entry) const |
Private Member Functions | |
void | DoActionImpl (int32 action, StorageType &summons, uint16 max) |
Private Attributes | |
Creature * | _me |
StorageType | _storage |
Definition at line 31 of file ScriptedCreature.h.
typedef StorageType::const_iterator SummonList::const_iterator |
Definition at line 36 of file ScriptedCreature.h.
typedef StorageType::iterator SummonList::iterator |
Definition at line 35 of file ScriptedCreature.h.
typedef StorageType::size_type SummonList::size_type |
Definition at line 37 of file ScriptedCreature.h.
typedef GuidList SummonList::StorageType |
Definition at line 34 of file ScriptedCreature.h.
typedef StorageType::value_type SummonList::value_type |
Definition at line 38 of file ScriptedCreature.h.
|
inlineexplicit |
Definition at line 40 of file ScriptedCreature.h.
|
inline |
|
inline |
Definition at line 50 of file ScriptedCreature.h.
|
inline |
void SummonList::Despawn | ( | Creature const * | summon | ) |
Definition at line 42 of file ScriptedCreature.cpp.
void SummonList::DespawnAll | ( | ) |
Definition at line 78 of file ScriptedCreature.cpp.
void SummonList::DespawnEntry | ( | uint32 | entry | ) |
Definition at line 61 of file ScriptedCreature.cpp.
|
inline |
|
private |
void SummonList::DoZoneInCombat | ( | uint32 | entry = 0 | ) |
Definition at line 47 of file ScriptedCreature.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 60 of file ScriptedCreature.h.
bool SummonList::HasEntry | ( | uint32 | entry | ) | const |
Definition at line 100 of file ScriptedCreature.cpp.
void SummonList::RemoveNotExisting | ( | ) |
Definition at line 89 of file ScriptedCreature.cpp.
|
inline |
void SummonList::Summon | ( | Creature const * | summon | ) |
Definition at line 37 of file ScriptedCreature.cpp.
|
private |
Definition at line 113 of file ScriptedCreature.h.
|
private |
Definition at line 114 of file ScriptedCreature.h.