AzerothCore 3.3.5a
OpenSource WoW Emulator
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
 

Public Attributes

int32 entryOrGuid
 
SmartScriptType source_type
 
uint32 event_id
 
uint32 link
 
SmartEvent event
 
SmartAction action
 
SmartTarget target
 
uint32 timer
 
bool active
 
bool runOnce
 
bool enableTimed
 

Detailed Description

Constructor & Destructor Documentation

◆ SmartScriptHolder()

SmartScriptHolder::SmartScriptHolder ( )
inline
1797 , event_id(0), link(0), event(), action(), target(), timer(0), active(false), runOnce(false)
1798 , enableTimed(false) {}
@ SMART_SCRIPT_TYPE_CREATURE
Definition: SmartScriptMgr.h:1617
bool runOnce
Definition: SmartScriptMgr.h:1817
bool active
Definition: SmartScriptMgr.h:1816
uint32 link
Definition: SmartScriptMgr.h:1803
bool enableTimed
Definition: SmartScriptMgr.h:1818
uint32 event_id
Definition: SmartScriptMgr.h:1802
int32 entryOrGuid
Definition: SmartScriptMgr.h:1800
uint32 timer
Definition: SmartScriptMgr.h:1815
SmartAction action
Definition: SmartScriptMgr.h:1806
SmartScriptType source_type
Definition: SmartScriptMgr.h:1801
SmartEvent event
Definition: SmartScriptMgr.h:1805
SmartTarget target
Definition: SmartScriptMgr.h:1807

Member Function Documentation

◆ GetActionType()

◆ GetEventType()

◆ GetScriptType()

◆ GetTargetType()

uint32 SmartScriptHolder::GetTargetType ( ) const
inline

Member Data Documentation

◆ action

◆ active

◆ enableTimed

bool SmartScriptHolder::enableTimed

◆ entryOrGuid

◆ event

◆ event_id

◆ link

uint32 SmartScriptHolder::link

◆ runOnce

bool SmartScriptHolder::runOnce

◆ source_type

◆ target

◆ timer

uint32 SmartScriptHolder::timer