![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "SmartScriptMgr.h"
Public Member Functions | |
| SmartScriptHolder () | |
| uint32 | GetScriptType () const |
| uint32 | GetEventType () const |
| uint32 | GetActionType () const |
| uint32 | GetTargetType () const |
| bool | IsAreatriggerScript () const |
| bool | operator< (SmartScriptHolder const &other) const |
Public Attributes | |
| int32 | entryOrGuid |
| SmartScriptType | source_type |
| uint32 | event_id |
| uint32 | link |
| SmartEvent | event |
| SmartAction | action |
| SmartTarget | target |
| uint32 | timer |
| uint32 | priority |
| bool | active |
| bool | runOnce |
| bool | enableTimed |
Static Public Attributes | |
| static constexpr uint32 | DEFAULT_PRIORITY = std::numeric_limits<uint32>::max() |
|
inline |
|
inline |
References action, and SmartAction::type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSAIBoolValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetScript9(), and SmartScript::UpdateTimer().
|
inline |
|
inline |
References source_type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartScript::InstallTemplate(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSAIBoolValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetScript9(), and SmartScript::UpdateTimer().
|
inline |
|
inline |
References SMART_SCRIPT_TYPE_AREATRIGGER, and source_type.
Referenced by SmartScript::GetTargets(), and SmartScript::ProcessAction().
|
inline |
References entryOrGuid, event_id, link, priority, and source_type.
| SmartAction SmartScriptHolder::action |
| bool SmartScriptHolder::active |
|
staticconstexpr |
Referenced by SmartScript::OnReset(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::enableTimed |
Referenced by SmartScript::UpdateTimer().
| int32 SmartScriptHolder::entryOrGuid |
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartScript::InstallTemplate(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSAIBoolValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), operator<(), SmartScript::ProcessAction(), SmartScript::ProcessTimedAction(), and SmartScript::SetScript9().
| SmartEvent SmartScriptHolder::event |
Referenced by SmartAIMgr::CheckUnusedEventParams(), SmartScript::CreateSmartEvent(), SmartScript::InitTimer(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), SmartScript::RetryLater(), and SmartScript::UpdateTimer().
| uint32 SmartScriptHolder::event_id |
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSAIBoolValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), operator<(), SmartScript::ProcessAction(), SmartScript::ProcessTimedAction(), and SmartScript::UpdateTimer().
| uint32 SmartScriptHolder::link |
Referenced by SmartAIMgr::IsEventValid(), SmartAIMgr::LoadSmartAIFromDB(), operator<(), and SmartScript::ProcessAction().
| uint32 SmartScriptHolder::priority |
Referenced by operator<(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::runOnce |
Referenced by SmartScript::ProcessAction(), SmartScript::ProcessEvent(), and SmartScript::RetryLater().
| SmartScriptType SmartScriptHolder::source_type |
| SmartTarget SmartScriptHolder::target |
| uint32 SmartScriptHolder::timer |
Referenced by SmartScript::RaisePriority(), SmartScript::RecalcTimer(), and SmartScript::UpdateTimer().