TrinityCore
SmartScriptHolder Struct Reference

#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< DifficultyDifficulties
 
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()
 

Detailed Description

Definition at line 1622 of file SmartScriptMgr.h.

Constructor & Destructor Documentation

◆ SmartScriptHolder()

SmartScriptHolder::SmartScriptHolder ( )
inline

Definition at line 1624 of file SmartScriptMgr.h.

Member Function Documentation

◆ GetActionType()

uint32 SmartScriptHolder::GetActionType ( ) const
inline

Definition at line 1640 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetEventType()

uint32 SmartScriptHolder::GetEventType ( ) const
inline

Definition at line 1639 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetScriptType()

uint32 SmartScriptHolder::GetScriptType ( ) const
inline

Definition at line 1638 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetTargetType()

uint32 SmartScriptHolder::GetTargetType ( ) const
inline

Definition at line 1641 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ operator bool()

SmartScriptHolder::operator bool ( ) const
inline

Definition at line 1649 of file SmartScriptMgr.h.

◆ operator<=>()

std::strong_ordering SmartScriptHolder::operator<=> ( SmartScriptHolder const &  right) const
inline

Definition at line 1651 of file SmartScriptMgr.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ action

SmartAction SmartScriptHolder::action

Definition at line 1635 of file SmartScriptMgr.h.

◆ active

bool SmartScriptHolder::active

Definition at line 1645 of file SmartScriptMgr.h.

◆ DEFAULT_PRIORITY

constexpr uint32 SmartScriptHolder::DEFAULT_PRIORITY = std::numeric_limits<uint32>::max()
staticconstexpr

Definition at line 1666 of file SmartScriptMgr.h.

◆ Difficulties

std::vector<Difficulty> SmartScriptHolder::Difficulties

Definition at line 1632 of file SmartScriptMgr.h.

◆ enableTimed

bool SmartScriptHolder::enableTimed

Definition at line 1647 of file SmartScriptMgr.h.

◆ entryOrGuid

int64 SmartScriptHolder::entryOrGuid

Definition at line 1628 of file SmartScriptMgr.h.

◆ event

SmartEvent SmartScriptHolder::event

Definition at line 1634 of file SmartScriptMgr.h.

◆ event_id

uint32 SmartScriptHolder::event_id

Definition at line 1630 of file SmartScriptMgr.h.

◆ link

uint32 SmartScriptHolder::link

Definition at line 1631 of file SmartScriptMgr.h.

◆ priority

uint32 SmartScriptHolder::priority

Definition at line 1644 of file SmartScriptMgr.h.

◆ runOnce

bool SmartScriptHolder::runOnce

Definition at line 1646 of file SmartScriptMgr.h.

◆ source_type

SmartScriptType SmartScriptHolder::source_type

Definition at line 1629 of file SmartScriptMgr.h.

◆ target

SmartTarget SmartScriptHolder::target

Definition at line 1636 of file SmartScriptMgr.h.

◆ timer

uint32 SmartScriptHolder::timer

Definition at line 1643 of file SmartScriptMgr.h.


The documentation for this struct was generated from the following file: