AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
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 
 
      uint32   rangeMin 
 
      uint32   rangeMax 
 
   }   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   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 
 
      uint32   onlyInCombat 
 
   }   missingBuff 
 
   struct { 
 
      uint32   creature 
 
      uint32   cooldownMin 
 
      uint32   cooldownMax 
 
   }   summoned 
 
   struct { 
 
      uint32   quest 
 
      uint32   cooldownMin 
 
      uint32   cooldownMax 
 
   }   quest 
 
   struct { 
 
      uint32   emote 
 
      uint32   cooldownMin 
 
      uint32   cooldownMax 
 
   }   emote 
 
   struct { 
 
      uint32   spell 
 
      uint32   count 
 
      uint32   repeatMin 
 
      uint32   repeatMax 
 
   }   aura 
 
   struct { 
 
      uint32   onRemove 
 
   }   charm 
 
   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   filter 
 
   }   gossipHello 
 
   struct { 
 
      uint32   sender 
 
      uint32   action 
 
   }   gossip 
 
   struct { 
 
      uint32   spell 
 
      uint32   effIndex 
 
   }   dummy 
 
   struct { 
 
      uint32   phasemask 
 
   }   eventPhaseChange 
 
   struct { 
 
      uint32   gameEventId 
 
   }   gameEvent 
 
   struct { 
 
      uint32   state 
 
   }   goStateChanged 
 
   struct { 
 
      uint32   eventId 
 
   }   eventInform 
 
   struct { 
 
      uint32   eventId 
 
   }   doAction 
 
   struct { 
 
      uint32   min 
 
      uint32   max 
 
      uint32   repeatMin 
 
      uint32   repeatMax 
 
      uint32   hpPct 
 
      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   minCount 
 
      uint32   radius 
 
      uint32   firstTimer 
 
      uint32   repeatMin 
 
      uint32   repeatMax 
 
   }   nearPlayer 
 
   struct { 
 
      uint32   maxCount 
 
      uint32   radius 
 
      uint32   firstTimer 
 
      uint32   repeatMin 
 
      uint32   repeatMax 
 
   }   nearPlayerNegation 
 
   struct { 
 
      uint32   type 
 
      uint32   entry 
 
      uint32   count 
 
      uint32   range 
 
      uint32   timer 
 
   }   nearUnit 
 
   struct { 
 
      uint32   min 
 
      uint32   max 
 
      uint32   repeatMin 
 
      uint32   repeatMax 
 
      uint32   dist 
 
      uint32   invert 
 
   }   meleeRange 
 
   struct { 
 
      uint32   type 
 
      uint32   entry 
 
      uint32   count 
 
      uint32   range 
 
      uint32   timer 
 
   }   nearUnitNegation 
 
   struct { 
 
      uint32   pointId 
 
      uint32   pathId 
 
   }   wpData 
 
   struct { 
 
      uint32   param1 
 
      uint32   param2 
 
      uint32   param3 
 
      uint32   param4 
 
      uint32   param5 
 
      uint32   param6 
 
   }   raw 
 
};  
 

Detailed Description

Member Enumeration Documentation

◆ LOSHostilityMode

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

Member Data Documentation

◆ [union]

union { ... } SmartEvent

◆ action

uint32 SmartEvent::action

◆ area

uint32 SmartEvent::area

◆ [struct]

struct { ... } SmartEvent::areatrigger

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::charm

◆ cooldownMax

uint32 SmartEvent::cooldownMax

◆ cooldownMin

uint32 SmartEvent::cooldownMin

◆ count

uint32 SmartEvent::count

◆ [struct]

struct { ... } SmartEvent::counter

◆ creature

uint32 SmartEvent::creature

◆ creatureEntry

uint32 SmartEvent::creatureEntry

◆ [struct]

struct { ... } SmartEvent::dataSet

◆ dist

uint32 SmartEvent::dist

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::doAction

◆ [struct]

struct { ... } SmartEvent::dummy

◆ effIndex

uint32 SmartEvent::effIndex

◆ emote [1/2]

◆ [struct] [2/2]

struct { ... } SmartEvent::emote

◆ entry

uint32 SmartEvent::entry

◆ event_chance

◆ event_flags

◆ event_phase_mask

◆ eventId

uint32 SmartEvent::eventId

◆ [struct]

struct { ... } SmartEvent::eventInform

◆ [struct]

struct { ... } SmartEvent::eventPhaseChange

◆ filter

uint32 SmartEvent::filter

◆ firstTimer

uint32 SmartEvent::firstTimer

Referenced by SmartScript::InitTimer().

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::friendlyHealth

◆ [struct]

struct { ... } SmartEvent::friendlyHealthPct

◆ [struct]

struct { ... } SmartEvent::gameEvent

◆ gameEventId

uint32 SmartEvent::gameEventId

◆ [struct]

struct { ... } SmartEvent::gossip

◆ [struct]

struct { ... } SmartEvent::gossipHello

◆ [struct]

struct { ... } SmartEvent::goStateChanged

◆ guid

uint32 SmartEvent::guid

◆ hostilityMode

uint32 SmartEvent::hostilityMode

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

Referenced by SmartAIMgr::IsEventValid(), and SmartScript::ProcessEvent().

◆ hpDeficit

uint32 SmartEvent::hpDeficit

◆ hpPct

uint32 SmartEvent::hpPct

◆ id

◆ [struct]

struct { ... } SmartEvent::instancePlayerEnter

◆ invert

uint32 SmartEvent::invert

◆ [struct]

◆ [struct]

◆ map

uint32 SmartEvent::map

◆ max

◆ maxCount

uint32 SmartEvent::maxCount

◆ maxDist

uint32 SmartEvent::maxDist

◆ [struct]

struct { ... } SmartEvent::meleeRange

◆ min

◆ minCount

uint32 SmartEvent::minCount

◆ [struct]

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::missingBuff

◆ [struct]

struct { ... } SmartEvent::movementInform

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::nearPlayerNegation

◆ [struct]

struct { ... } SmartEvent::nearUnit

◆ [struct]

struct { ... } SmartEvent::nearUnitNegation

◆ onlyInCombat

uint32 SmartEvent::onlyInCombat

◆ onRemove

uint32 SmartEvent::onRemove

◆ param1

◆ param2

◆ param3

◆ param4

◆ param5

◆ param6

◆ pathID

uint32 SmartEvent::pathID

◆ pathId

uint32 SmartEvent::pathId

◆ phasemask

uint32 SmartEvent::phasemask

◆ playerOnly

SAIBool SmartEvent::playerOnly

◆ pointID

uint32 SmartEvent::pointID

◆ pointId

uint32 SmartEvent::pointId

◆ quest [1/2]

◆ [struct] [2/2]

struct { ... } SmartEvent::quest

◆ radius

uint32 SmartEvent::radius

◆ range

uint32 SmartEvent::range

◆ rangeMax

uint32 SmartEvent::rangeMax

◆ rangeMin

uint32 SmartEvent::rangeMin

◆ [struct]

◆ repeat

uint32 SmartEvent::repeat

◆ repeatMax

◆ repeatMin

◆ [struct]

struct { ... } SmartEvent::respawn

◆ school

uint32 SmartEvent::school

◆ sender

uint32 SmartEvent::sender

◆ spell

uint32 SmartEvent::spell

◆ [struct]

struct { ... } SmartEvent::spellHit

◆ spellId

uint32 SmartEvent::spellId

◆ state

uint32 SmartEvent::state

◆ [struct]

struct { ... } SmartEvent::summoned

◆ [struct]

struct { ... } SmartEvent::targetAura

◆ [struct]

struct { ... } SmartEvent::targetCasting

◆ team

uint32 SmartEvent::team

◆ textGroupID

uint32 SmartEvent::textGroupID

◆ [struct]

struct { ... } SmartEvent::textOver

◆ [struct]

struct { ... } SmartEvent::timedEvent

◆ timer

uint32 SmartEvent::timer

◆ [struct]

struct { ... } SmartEvent::transportAddCreature

◆ [struct]

struct { ... } SmartEvent::transportRelocate

◆ type [1/2]

◆ type [2/2]

uint32 SmartEvent::type

◆ value

uint32 SmartEvent::value

◆ [struct]

struct { ... } SmartEvent::waypoint

◆ [struct]

struct { ... } SmartEvent::wpData

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