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
1890 , event_id(0), link(0), event(), action(), target(), timer(0), active(false), runOnce(false)
1891 , enableTimed(false) {}
@ SMART_SCRIPT_TYPE_CREATURE
Definition: SmartScriptMgr.h:1705
bool runOnce
Definition: SmartScriptMgr.h:1910
bool active
Definition: SmartScriptMgr.h:1909
uint32 link
Definition: SmartScriptMgr.h:1896
bool enableTimed
Definition: SmartScriptMgr.h:1911
uint32 event_id
Definition: SmartScriptMgr.h:1895
int32 entryOrGuid
Definition: SmartScriptMgr.h:1893
uint32 timer
Definition: SmartScriptMgr.h:1908
SmartAction action
Definition: SmartScriptMgr.h:1899
SmartScriptType source_type
Definition: SmartScriptMgr.h:1894
SmartEvent event
Definition: SmartScriptMgr.h:1898
SmartTarget target
Definition: SmartScriptMgr.h:1900

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