![]() |
TrinityCore
|
#include <SmartScriptMgr.h>
Public Member Functions | |
| SmartScriptHolder () | |
| uint32 | GetScriptType () const |
| uint32 | GetEventType () const |
| uint32 | GetActionType () const |
| uint32 | GetTargetType () const |
| operator bool () const | |
| std::strong_ordering | operator<=> (SmartScriptHolder const &right) const |
Public Attributes | |
| int64 | entryOrGuid |
| SmartScriptType | source_type |
| uint32 | event_id |
| uint32 | link |
| std::vector< Difficulty > | Difficulties |
| 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() |
Definition at line 1667 of file SmartScriptMgr.h.
|
inline |
Definition at line 1669 of file SmartScriptMgr.h.
|
inline |
Definition at line 1685 of file SmartScriptMgr.h.
References action, and SmartAction::type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAnimKitValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsSpellVisualKitValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1684 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedEventParams(), SmartScript::InitTimer(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1683 of file SmartScriptMgr.h.
References source_type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAnimKitValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsSpellVisualKitValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1686 of file SmartScriptMgr.h.
References target, and SmartTarget::type.
Referenced by SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), SmartScript::ProcessAction(), and SmartScript::ProcessEvent().
|
inline |
Definition at line 1694 of file SmartScriptMgr.h.
References entryOrGuid.
|
inline |
Definition at line 1696 of file SmartScriptMgr.h.
References entryOrGuid, event_id, advstd::is_neq(), link, priority, and source_type.
| SmartAction SmartScriptHolder::action |
Definition at line 1680 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartScript::CreateSmartEvent(), GetActionType(), SmartAIMgr::IsEventValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartScript::ProcessAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::active |
Definition at line 1690 of file SmartScriptMgr.h.
Referenced by SmartScript::InitTimer(), SmartScript::ProcessEvent(), SmartScript::RecalcTimer(), and SmartScript::UpdateTimer().
|
staticconstexpr |
Definition at line 1711 of file SmartScriptMgr.h.
Referenced by SmartScript::OnReset(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| std::vector<Difficulty> SmartScriptHolder::Difficulties |
Definition at line 1677 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::LoadSmartAIFromDB().
| bool SmartScriptHolder::enableTimed |
Definition at line 1692 of file SmartScriptMgr.h.
Referenced by SmartScript::OnUpdate(), and SmartScript::UpdateTimer().
| int64 SmartScriptHolder::entryOrGuid |
Definition at line 1673 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAnimKitValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsSpellVisualKitValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), operator bool(), operator<=>(), SmartScript::ProcessAction(), SmartScript::ProcessTimedAction(), and SmartScript::SetTimedActionList().
| SmartEvent SmartScriptHolder::event |
Definition at line 1679 of file SmartScriptMgr.h.
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 |
Definition at line 1675 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartScript::GetTargets(), SmartAIMgr::IsAnimKitValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsSpellVisualKitValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), operator<=>(), SmartScript::ProcessAction(), SmartScript::ProcessTimedAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
| uint32 SmartScriptHolder::link |
Definition at line 1676 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::IsEventValid(), SmartAIMgr::LoadSmartAIFromDB(), and operator<=>().
| uint32 SmartScriptHolder::priority |
Definition at line 1689 of file SmartScriptMgr.h.
Referenced by operator<=>(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::runOnce |
Definition at line 1691 of file SmartScriptMgr.h.
Referenced by SmartScript::ProcessAction(), SmartScript::ProcessEvent(), and SmartScript::RetryLater().
| SmartScriptType SmartScriptHolder::source_type |
Definition at line 1674 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateSmartEvent(), GetScriptType(), SmartAIMgr::LoadSmartAIFromDB(), operator<=>(), and SmartScript::ProcessTimedAction().
| SmartTarget SmartScriptHolder::target |
Definition at line 1681 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedTargetParams(), SmartScript::CreateSmartEvent(), SmartScript::GetTargets(), GetTargetType(), SmartAIMgr::IsTargetValid(), SmartAIMgr::LoadSmartAIFromDB(), and SmartScript::ProcessAction().
| uint32 SmartScriptHolder::timer |
Definition at line 1688 of file SmartScriptMgr.h.
Referenced by SmartScript::RaisePriority(), SmartScript::RecalcTimer(), and SmartScript::UpdateTimer().