TrinityCore
Loading...
Searching...
No Matches
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 1661 of file SmartScriptMgr.h.

Constructor & Destructor Documentation

◆ SmartScriptHolder()

SmartScriptHolder::SmartScriptHolder ( )
inline

Definition at line 1663 of file SmartScriptMgr.h.

Member Function Documentation

◆ GetActionType()

uint32 SmartScriptHolder::GetActionType ( ) const
inline

Definition at line 1679 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetEventType()

uint32 SmartScriptHolder::GetEventType ( ) const
inline

Definition at line 1678 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetScriptType()

uint32 SmartScriptHolder::GetScriptType ( ) const
inline

Definition at line 1677 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ GetTargetType()

uint32 SmartScriptHolder::GetTargetType ( ) const
inline

Definition at line 1680 of file SmartScriptMgr.h.

+ Here is the caller graph for this function:

◆ operator bool()

SmartScriptHolder::operator bool ( ) const
inline

Definition at line 1688 of file SmartScriptMgr.h.

◆ operator<=>()

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

Definition at line 1690 of file SmartScriptMgr.h.

+ Here is the call graph for this function:

Member Data Documentation

◆ action

SmartAction SmartScriptHolder::action

Definition at line 1674 of file SmartScriptMgr.h.

◆ active

bool SmartScriptHolder::active

Definition at line 1684 of file SmartScriptMgr.h.

◆ DEFAULT_PRIORITY

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

Definition at line 1705 of file SmartScriptMgr.h.

◆ Difficulties

std::vector<Difficulty> SmartScriptHolder::Difficulties

Definition at line 1671 of file SmartScriptMgr.h.

◆ enableTimed

bool SmartScriptHolder::enableTimed

Definition at line 1686 of file SmartScriptMgr.h.

◆ entryOrGuid

int64 SmartScriptHolder::entryOrGuid

Definition at line 1667 of file SmartScriptMgr.h.

◆ event

SmartEvent SmartScriptHolder::event

Definition at line 1673 of file SmartScriptMgr.h.

◆ event_id

uint32 SmartScriptHolder::event_id

Definition at line 1669 of file SmartScriptMgr.h.

◆ link

uint32 SmartScriptHolder::link

Definition at line 1670 of file SmartScriptMgr.h.

◆ priority

uint32 SmartScriptHolder::priority

Definition at line 1683 of file SmartScriptMgr.h.

◆ runOnce

bool SmartScriptHolder::runOnce

Definition at line 1685 of file SmartScriptMgr.h.

◆ source_type

SmartScriptType SmartScriptHolder::source_type

Definition at line 1668 of file SmartScriptMgr.h.

◆ target

SmartTarget SmartScriptHolder::target

Definition at line 1675 of file SmartScriptMgr.h.

◆ timer

uint32 SmartScriptHolder::timer

Definition at line 1682 of file SmartScriptMgr.h.


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