TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
SmartEvent Struct Reference

#include <SmartScriptMgr.h>

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
 
      uint32   playerOnly
 
      uint32   creature
 
   }   kill
 
   struct {
      uint32   spell
 
      uint32   school
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   spellHit
 
   struct {
      uint32   noHostile
 
      uint32   maxDist
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   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   hpDeficit
 
      uint32   radius
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   friendlyHealth
 
   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
 
   }   quest
 
   struct {
      uint32   emote
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   emote
 
   struct {
      uint32   spell
 
      uint32   count
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   aura
 
   struct {
      uint32   spell
 
      uint32   count
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   targetAura
 
   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   sender
 
      uint32   action
 
   }   gossip
 
   struct {
      uint32   spell
 
      uint32   effIndex
 
   }   dummy
 
   struct {
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   behindTarget
 
   struct {
      uint32   gameEventId
 
   }   gameEvent
 
   struct {
      uint32   state
 
   }   goStateChanged
 
   struct {
      uint32   eventId
 
   }   eventInform
 
   struct {
      uint32   eventId
 
   }   doAction
 
   struct {
      uint32   minHpPct
 
      uint32   maxHpPct
 
      uint32   repeatMin
 
      uint32   repeatMax
 
   }   friendlyHealthPct
 
   struct {
      uint32   guid
 
      uint32   entry
 
      uint32   dist
 
      uint32   repeat
 
   }   distance
 
   struct {
      uint32   id
 
      uint32   value
 
      uint32   cooldownMin
 
      uint32   cooldownMax
 
   }   counter
 
   struct {
      uint32   param1
 
      uint32   param2
 
      uint32   param3
 
      uint32   param4
 
   }   raw
 
}; 
 

Member Data Documentation

union { ... }
uint32 SmartEvent::action
uint32 SmartEvent::area
struct { ... } SmartEvent::areatrigger
struct { ... } SmartEvent::aura
struct { ... } SmartEvent::behindTarget
uint32 SmartEvent::cooldownMax
uint32 SmartEvent::cooldownMin
uint32 SmartEvent::count
struct { ... } SmartEvent::counter
uint32 SmartEvent::creature
uint32 SmartEvent::creatureEntry
struct { ... } SmartEvent::dataSet
uint32 SmartEvent::dist
struct { ... } SmartEvent::distance
struct { ... } SmartEvent::doAction
struct { ... } SmartEvent::dummy
uint32 SmartEvent::effIndex
uint32 SmartEvent::emote
struct { ... } SmartEvent::emote
uint32 SmartEvent::entry
uint32 SmartEvent::event_chance
uint32 SmartEvent::event_flags
uint32 SmartEvent::event_phase_mask
uint32 SmartEvent::eventId
struct { ... } SmartEvent::eventInform
struct { ... } SmartEvent::friendlyCC
struct { ... } SmartEvent::friendlyHealth
struct { ... } SmartEvent::friendlyHealthPct
struct { ... } SmartEvent::gameEvent
uint32 SmartEvent::gameEventId
struct { ... } SmartEvent::gossip
struct { ... } SmartEvent::goStateChanged
uint32 SmartEvent::guid
uint32 SmartEvent::hpDeficit
uint32 SmartEvent::id
struct { ... } SmartEvent::instancePlayerEnter
struct { ... } SmartEvent::kill
struct { ... } SmartEvent::los
uint32 SmartEvent::map
uint32 SmartEvent::max
uint32 SmartEvent::maxDist
uint32 SmartEvent::maxHpPct
uint32 SmartEvent::min
uint32 SmartEvent::minHpPct
struct { ... } SmartEvent::minMax
struct { ... } SmartEvent::minMaxRepeat
struct { ... } SmartEvent::missingBuff
struct { ... } SmartEvent::movementInform
uint32 SmartEvent::noHostile
uint32 SmartEvent::param1
uint32 SmartEvent::param2
uint32 SmartEvent::param3
uint32 SmartEvent::param4
uint32 SmartEvent::pathID
uint32 SmartEvent::playerOnly
uint32 SmartEvent::pointID
uint32 SmartEvent::quest
struct { ... } SmartEvent::quest
uint32 SmartEvent::radius
struct { ... } SmartEvent::raw
uint32 SmartEvent::repeat
uint32 SmartEvent::repeatMax
uint32 SmartEvent::repeatMin
struct { ... } SmartEvent::respawn
uint32 SmartEvent::school
uint32 SmartEvent::sender
uint32 SmartEvent::spell
struct { ... } SmartEvent::spellHit
uint32 SmartEvent::spellId
uint32 SmartEvent::state
struct { ... } SmartEvent::summoned
struct { ... } SmartEvent::targetAura
struct { ... } SmartEvent::targetCasting
uint32 SmartEvent::team
uint32 SmartEvent::textGroupID
struct { ... } SmartEvent::textOver
struct { ... } SmartEvent::timedEvent
struct { ... } SmartEvent::transportAddCreature
struct { ... } SmartEvent::transportRelocate
SMART_EVENT SmartEvent::type
uint32 SmartEvent::type
uint32 SmartEvent::value
struct { ... } SmartEvent::waypoint

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