![]() |
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 | |
| 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() |
Definition at line 1577 of file SmartScriptMgr.h.
|
inline |
Definition at line 1579 of file SmartScriptMgr.h.
|
inline |
Definition at line 1594 of file SmartScriptMgr.h.
References action, and SmartAction::type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1593 of file SmartScriptMgr.h.
Referenced by SmartScript::InitTimer(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), SmartScript::ProcessAction(), SmartScript::ProcessEvent(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1592 of file SmartScriptMgr.h.
References source_type.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextEmoteValid(), SmartAIMgr::IsTextValid(), SmartAIMgr::LoadSmartAIFromDB(), SmartAIMgr::NotNULL(), SmartScript::ProcessAction(), SmartScript::SetTimedActionList(), and SmartScript::UpdateTimer().
|
inline |
Definition at line 1595 of file SmartScriptMgr.h.
References target, and SmartTarget::type.
Referenced by SmartScript::GetTargets(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), SmartScript::ProcessAction(), and SmartScript::ProcessEvent().
|
inline |
Definition at line 1603 of file SmartScriptMgr.h.
References entryOrGuid.
|
inline |
Definition at line 1605 of file SmartScriptMgr.h.
References entryOrGuid, event_id, advstd::is_neq(), link, priority, and source_type.
| SmartAction SmartScriptHolder::action |
Definition at line 1589 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 1599 of file SmartScriptMgr.h.
Referenced by SmartScript::CheckTimer(), SmartScript::InitTimer(), SmartScript::ProcessEvent(), SmartScript::RecalcTimer(), and SmartScript::UpdateTimer().
|
staticconstexpr |
Definition at line 1620 of file SmartScriptMgr.h.
Referenced by SmartScript::OnReset(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::enableTimed |
Definition at line 1601 of file SmartScriptMgr.h.
Referenced by SmartScript::UpdateTimer().
| int32 SmartScriptHolder::entryOrGuid |
Definition at line 1583 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), SmartAIMgr::IsSoundValid(), SmartAIMgr::IsSpellValid(), 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 1588 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 1585 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::CheckUnusedActionParams(), SmartAIMgr::CheckUnusedEventParams(), SmartAIMgr::CheckUnusedTargetParams(), SmartAIMgr::IsAreaTriggerValid(), SmartAIMgr::IsCreatureValid(), SmartAIMgr::IsEmoteValid(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsGameObjectValid(), SmartAIMgr::IsItemValid(), SmartAIMgr::IsMinMaxValid(), SmartAIMgr::IsQuestValid(), 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 |
Definition at line 1586 of file SmartScriptMgr.h.
Referenced by SmartAIMgr::IsEventValid(), SmartAIMgr::LoadSmartAIFromDB(), operator<=>(), and SmartScript::ProcessAction().
| uint32 SmartScriptHolder::priority |
Definition at line 1598 of file SmartScriptMgr.h.
Referenced by operator<=>(), SmartScript::RaisePriority(), and SmartScript::UpdateTimer().
| bool SmartScriptHolder::runOnce |
Definition at line 1600 of file SmartScriptMgr.h.
Referenced by SmartScript::ProcessAction(), SmartScript::ProcessEvent(), and SmartScript::RetryLater().
| SmartScriptType SmartScriptHolder::source_type |
Definition at line 1584 of file SmartScriptMgr.h.
Referenced by SmartScript::CreateSmartEvent(), GetScriptType(), SmartAIMgr::LoadSmartAIFromDB(), operator<=>(), and SmartScript::ProcessTimedAction().
| SmartTarget SmartScriptHolder::target |
Definition at line 1590 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 1597 of file SmartScriptMgr.h.
Referenced by SmartScript::RaisePriority(), SmartScript::RecalcTimer(), and SmartScript::UpdateTimer().