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

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