TrinityCore
SmartEvent Struct Reference

#include <SmartScriptMgr.h>

Public Types

enum class  LOSHostilityMode : uint32 { Hostile = 0 , NotHostile = 1 , Any = 2 , End }
 

Public Attributes

SMART_EVENT type
 
uint32 event_phase_mask
 
uint32 event_chance
 
uint32 event_flags
 
union {
   struct {
      uint32   min
 
      uint32   max
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   minMaxRepeat
 
   struct {
      uint32   cooldownMin
 
      uint32   cooldownMax
 
      SAIBool   playerOnly
 
      uint32   creature
 
   }   kill
 
   struct {
      uint32   spell
 
      uint32   school
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   spellHit
 
   struct {
      uint32   hostilityMode
 Hostility mode of the event. 0: hostile, 1: not hostile, 2: any More...
 
      uint32   maxDist
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
      SAIBool   playerOnly
 
   }   los
 
   struct {
      uint32   type
 
      uint32   map
 
      uint32   area
 
   }   respawn
 
   struct {
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   minMax
 
   struct {
      uint32   repeatMin
 
      uint32   repeatMax
 
      uint32   spellId
 
   }   targetCasting
 
   struct {
      uint32   radius
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   friendlyCC
 
   struct {
      uint32   spell
 
      uint32   radius
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   missingBuff
 
   struct {
      uint32   creature
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   summoned
 
   struct {
      uint32   quest
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   quest
 
   struct {
      uint32   id
 
   }   questObjective
 
   struct {
      uint32   emote
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   emote
 
   struct {
      uint32   spell
 
      uint32   count
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   aura
 
   struct {
      SAIBool   onRemove
 
   }   charm
 
   struct {
      uint32   type
 
      uint32   id
 
   }   movementInform
 
   struct {
      uint32   id
 
      uint32   value
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   dataSet
 
   struct {
      uint32   pointID
 
      uint32   pathID
 
   }   waypoint
 
   struct {
      uint32   creature
 
   }   transportAddCreature
 
   struct {
      uint32   pointID
 
   }   transportRelocate
 
   struct {
      uint32   team
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   instancePlayerEnter
 
   struct {
      uint32   id
 
   }   areatrigger
 
   struct {
      uint32   textGroupID
 
      uint32   creatureEntry
 
   }   textOver
 
   struct {
      uint32   id
 
   }   timedEvent
 
   struct {
      uint32   filter
 
   }   gossipHello
 
   struct {
      uint32   sender
 
      uint32   action
 
   }   gossip
 
   struct {
      uint32   gameEventId
 
   }   gameEvent
 
   struct {
      uint32   lootState
 
   }   goLootStateChanged
 
   struct {
      uint32   eventId
 
   }   eventInform
 
   struct {
      uint32   eventId
 
   }   doAction
 
   struct {
      uint32   minHpPct
 
      uint32   maxHpPct
 
      uint32   repeatMin
 
      uint32   repeatMax
 
      uint32   radius
 
   }   friendlyHealthPct
 
   struct {
      uint32   guid
 
      uint32   entry
 
      uint32   dist
 
      uint32   repeat
 
   }   distance
 
   struct {
      uint32   id
 
      uint32   value
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   counter
 
   struct {
      uint32   spell
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   spellCast
 
   struct {
      uint32   param1
 
      uint32   param2
 
      uint32   param3
 
      uint32   param4
 
      uint32   param5
 
   }   raw
 
}; 
 
std::string param_string
 

Detailed Description

Definition at line 195 of file SmartScriptMgr.h.

Member Enumeration Documentation

◆ LOSHostilityMode

enum class SmartEvent::LOSHostilityMode : uint32
strong
Enumerator
Hostile 
NotHostile 
Any 
End 

Definition at line 441 of file SmartScriptMgr.h.

Member Data Documentation

◆ 

union { ... } SmartEvent::@30

◆ action

uint32 SmartEvent::action

Definition at line 374 of file SmartScriptMgr.h.

◆ area

uint32 SmartEvent::area

Definition at line 243 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::areatrigger

◆ 

struct { ... } SmartEvent::aura

◆ 

struct { ... } SmartEvent::charm

◆ cooldownMax

uint32 SmartEvent::cooldownMax

Definition at line 214 of file SmartScriptMgr.h.

◆ cooldownMin

uint32 SmartEvent::cooldownMin

Definition at line 213 of file SmartScriptMgr.h.

◆ count

uint32 SmartEvent::count

Definition at line 303 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::counter

◆ creature

uint32 SmartEvent::creature

Definition at line 216 of file SmartScriptMgr.h.

◆ creatureEntry

uint32 SmartEvent::creatureEntry

Definition at line 358 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::dataSet

◆ dist

uint32 SmartEvent::dist

Definition at line 410 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::distance

◆ 

struct { ... } SmartEvent::doAction

◆ emote [1/2]

uint32 SmartEvent::emote

Definition at line 295 of file SmartScriptMgr.h.

◆  [2/2]

struct { ... } SmartEvent::emote

◆ entry

uint32 SmartEvent::entry

Definition at line 409 of file SmartScriptMgr.h.

◆ event_chance

uint32 SmartEvent::event_chance

Definition at line 199 of file SmartScriptMgr.h.

◆ event_flags

uint32 SmartEvent::event_flags

Definition at line 200 of file SmartScriptMgr.h.

◆ event_phase_mask

uint32 SmartEvent::event_phase_mask

Definition at line 198 of file SmartScriptMgr.h.

◆ eventId

uint32 SmartEvent::eventId

Definition at line 389 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::eventInform

◆ filter

uint32 SmartEvent::filter

Definition at line 368 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::friendlyCC

◆ 

struct { ... } SmartEvent::friendlyHealthPct

◆ 

struct { ... } SmartEvent::gameEvent

◆ gameEventId

uint32 SmartEvent::gameEventId

Definition at line 379 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::goLootStateChanged

◆ 

struct { ... } SmartEvent::gossip

◆ 

struct { ... } SmartEvent::gossipHello

◆ guid

uint32 SmartEvent::guid

Definition at line 408 of file SmartScriptMgr.h.

◆ hostilityMode

uint32 SmartEvent::hostilityMode

Hostility mode of the event. 0: hostile, 1: not hostile, 2: any

Definition at line 232 of file SmartScriptMgr.h.

◆ id

uint32 SmartEvent::id

Definition at line 290 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::instancePlayerEnter

◆ 

struct { ... } SmartEvent::kill

◆ lootState

uint32 SmartEvent::lootState

Definition at line 384 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::los

◆ map

uint32 SmartEvent::map

Definition at line 242 of file SmartScriptMgr.h.

◆ max

uint32 SmartEvent::max

Definition at line 206 of file SmartScriptMgr.h.

◆ maxDist

uint32 SmartEvent::maxDist

Definition at line 233 of file SmartScriptMgr.h.

◆ maxHpPct

uint32 SmartEvent::maxHpPct

Definition at line 400 of file SmartScriptMgr.h.

◆ min

uint32 SmartEvent::min

Definition at line 205 of file SmartScriptMgr.h.

◆ minHpPct

uint32 SmartEvent::minHpPct

Definition at line 399 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::minMax

◆ 

struct { ... } SmartEvent::minMaxRepeat

◆ 

struct { ... } SmartEvent::missingBuff

◆ 

struct { ... } SmartEvent::movementInform

◆ onRemove

SAIBool SmartEvent::onRemove

Definition at line 310 of file SmartScriptMgr.h.

◆ param1

uint32 SmartEvent::param1

Definition at line 431 of file SmartScriptMgr.h.

◆ param2

uint32 SmartEvent::param2

Definition at line 432 of file SmartScriptMgr.h.

◆ param3

uint32 SmartEvent::param3

Definition at line 433 of file SmartScriptMgr.h.

◆ param4

uint32 SmartEvent::param4

Definition at line 434 of file SmartScriptMgr.h.

◆ param5

uint32 SmartEvent::param5

Definition at line 435 of file SmartScriptMgr.h.

◆ param_string

std::string SmartEvent::param_string

Definition at line 439 of file SmartScriptMgr.h.

◆ pathID

uint32 SmartEvent::pathID

Definition at line 330 of file SmartScriptMgr.h.

◆ playerOnly

SAIBool SmartEvent::playerOnly

Definition at line 215 of file SmartScriptMgr.h.

◆ pointID

uint32 SmartEvent::pointID

Definition at line 329 of file SmartScriptMgr.h.

◆ quest [1/2]

uint32 SmartEvent::quest

Definition at line 283 of file SmartScriptMgr.h.

◆  [2/2]

struct { ... } SmartEvent::quest

◆ 

struct { ... } SmartEvent::questObjective

◆ radius

uint32 SmartEvent::radius

Definition at line 261 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::raw

◆ repeat

uint32 SmartEvent::repeat

Definition at line 411 of file SmartScriptMgr.h.

◆ repeatMax

uint32 SmartEvent::repeatMax

Definition at line 208 of file SmartScriptMgr.h.

◆ repeatMin

uint32 SmartEvent::repeatMin

Definition at line 207 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::respawn

◆ school

uint32 SmartEvent::school

Definition at line 222 of file SmartScriptMgr.h.

◆ sender

uint32 SmartEvent::sender

Definition at line 373 of file SmartScriptMgr.h.

◆ spell

uint32 SmartEvent::spell

Definition at line 221 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::spellCast

◆ 

struct { ... } SmartEvent::spellHit

◆ spellId

uint32 SmartEvent::spellId

Definition at line 256 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::summoned

◆ 

struct { ... } SmartEvent::targetCasting

◆ team

uint32 SmartEvent::team

Definition at line 345 of file SmartScriptMgr.h.

◆ textGroupID

uint32 SmartEvent::textGroupID

Definition at line 357 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::textOver

◆ 

struct { ... } SmartEvent::timedEvent

◆ 

struct { ... } SmartEvent::transportAddCreature

◆ 

struct { ... } SmartEvent::transportRelocate

◆ type [1/2]

SMART_EVENT SmartEvent::type

Definition at line 197 of file SmartScriptMgr.h.

◆ type [2/2]

uint32 SmartEvent::type

Definition at line 241 of file SmartScriptMgr.h.

◆ value

uint32 SmartEvent::value

Definition at line 322 of file SmartScriptMgr.h.

◆ 

struct { ... } SmartEvent::waypoint

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