|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <ScriptedCreature.h>
Public Types | |
| typedef StorageType::const_iterator | const_iterator |
| typedef StorageType::iterator | iterator |
| typedef StorageType::size_type | size_type |
| typedef std::list< uint64 > | StorageType |
| typedef StorageType::value_type | value_type |
Public Member Functions | |
| iterator | begin () |
| const_iterator | begin () const |
| void | Despawn (Creature const *summon) |
| void | DespawnAll () |
| void | DespawnEntry (uint32 entry) |
| 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) |
| bool | empty () const |
| iterator | end () |
| const_iterator | end () const |
| iterator | erase (iterator i) |
| bool | HasEntry (uint32 entry) const |
| void | RemoveNotExisting () |
| size_type | size () const |
| void | Summon (Creature const *summon) |
| SummonList (Creature *creature) | |
Private Attributes | |
| Creature * | me |
| StorageType | storage_ |
Definition at line 18 of file ScriptedCreature.h.
| typedef StorageType::const_iterator SummonList::const_iterator |
Definition at line 23 of file ScriptedCreature.h.
| typedef StorageType::iterator SummonList::iterator |
Definition at line 22 of file ScriptedCreature.h.
| typedef StorageType::size_type SummonList::size_type |
Definition at line 24 of file ScriptedCreature.h.
| typedef std::list<uint64> SummonList::StorageType |
Definition at line 21 of file ScriptedCreature.h.
| typedef StorageType::value_type SummonList::value_type |
Definition at line 25 of file ScriptedCreature.h.
|
inlineexplicit |
Definition at line 27 of file ScriptedCreature.h.
References me.
|
inline |
Definition at line 34 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 39 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 73 of file ScriptedCreature.h.
References Object::GetGUID(), and storage_.
| void SummonList::DespawnAll | ( | ) |
Definition at line 51 of file ScriptedCreature.cpp.
References Creature::DespawnOrUnsummon(), Unit::GetCreature(), me, and storage_.
| void SummonList::DespawnEntry | ( | uint32 | entry | ) |
Definition at line 34 of file ScriptedCreature.cpp.
References Creature::DespawnOrUnsummon(), Unit::GetCreature(), Object::GetEntry(), me, and storage_.
|
inline |
Definition at line 81 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 87 of file ScriptedCreature.h.
References Creature::AI(), UnitAI::DoAction(), Unit::GetCreature(), Unit::IsAIEnabled, me, Skyfire::Containers::RandomResizeList(), and storage_.
| void SummonList::DoZoneInCombat | ( | uint32 | entry = 0 | ) |
Definition at line 20 of file ScriptedCreature.cpp.
References Creature::AI(), CreatureAI::DoZoneInCombat(), Unit::GetCreature(), Object::GetEntry(), Unit::IsAIEnabled, me, and storage_.
|
inline |
Definition at line 59 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 44 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 49 of file ScriptedCreature.h.
References storage_.
Definition at line 54 of file ScriptedCreature.h.
References storage_.
| bool SummonList::HasEntry | ( | uint32 | entry | ) | const |
Definition at line 73 of file ScriptedCreature.cpp.
References Unit::GetCreature(), Object::GetEntry(), me, and storage_.
| void SummonList::RemoveNotExisting | ( | ) |
Definition at line 62 of file ScriptedCreature.cpp.
References Unit::GetCreature(), me, and storage_.
|
inline |
Definition at line 64 of file ScriptedCreature.h.
References storage_.
|
inline |
Definition at line 69 of file ScriptedCreature.h.
References Object::GetGUID(), and storage_.
Referenced by at_kelthuzad_center::OnTrigger().
|
private |
Definition at line 105 of file ScriptedCreature.h.
Referenced by DespawnAll(), DespawnEntry(), DoAction(), DoZoneInCombat(), HasEntry(), RemoveNotExisting(), and SummonList().
|
private |
Definition at line 106 of file ScriptedCreature.h.
Referenced by begin(), begin(), Despawn(), DespawnAll(), DespawnEntry(), DespawnIf(), DoAction(), DoZoneInCombat(), empty(), end(), end(), erase(), HasEntry(), RemoveNotExisting(), size(), and Summon().