TrinityCore
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 
 
   }   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   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 198 of file SmartScriptMgr.h.

Member Enumeration Documentation

◆ LOSHostilityMode

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

Definition at line 439 of file SmartScriptMgr.h.

Member Data Documentation

◆ [union]

union { ... } SmartEvent

◆ action

uint32 SmartEvent::action

Definition at line 372 of file SmartScriptMgr.h.

◆ area

uint32 SmartEvent::area

Definition at line 246 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::aura

◆ [struct]

struct { ... } SmartEvent::charm

◆ cooldownMax

uint32 SmartEvent::cooldownMax

Definition at line 217 of file SmartScriptMgr.h.

◆ cooldownMin

uint32 SmartEvent::cooldownMin

Definition at line 216 of file SmartScriptMgr.h.

◆ count

uint32 SmartEvent::count

Definition at line 306 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::counter

◆ creature

uint32 SmartEvent::creature

Definition at line 219 of file SmartScriptMgr.h.

◆ creatureEntry

uint32 SmartEvent::creatureEntry

Definition at line 356 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::dataSet

◆ dist

uint32 SmartEvent::dist

Definition at line 408 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::distance

◆ [struct]

struct { ... } SmartEvent::doAction

◆ emote [1/2]

uint32 SmartEvent::emote

Definition at line 298 of file SmartScriptMgr.h.

◆ [struct] [2/2]

struct { ... } SmartEvent::emote

◆ entry

uint32 SmartEvent::entry

Definition at line 407 of file SmartScriptMgr.h.

◆ event_chance

uint32 SmartEvent::event_chance

Definition at line 202 of file SmartScriptMgr.h.

◆ event_flags

uint32 SmartEvent::event_flags

Definition at line 203 of file SmartScriptMgr.h.

◆ event_phase_mask

uint32 SmartEvent::event_phase_mask

Definition at line 201 of file SmartScriptMgr.h.

◆ eventId

uint32 SmartEvent::eventId

Definition at line 387 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::eventInform

◆ filter

uint32 SmartEvent::filter

Definition at line 366 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::friendlyCC

◆ [struct]

struct { ... } SmartEvent::friendlyHealthPct

◆ [struct]

struct { ... } SmartEvent::gameEvent

◆ gameEventId

uint32 SmartEvent::gameEventId

Definition at line 377 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::goLootStateChanged

◆ [struct]

struct { ... } SmartEvent::gossip

◆ [struct]

struct { ... } SmartEvent::gossipHello

◆ guid

uint32 SmartEvent::guid

Definition at line 406 of file SmartScriptMgr.h.

◆ hostilityMode

uint32 SmartEvent::hostilityMode

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

Definition at line 235 of file SmartScriptMgr.h.

◆ id

uint32 SmartEvent::id

Definition at line 293 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::instancePlayerEnter

◆ [struct]

struct { ... } SmartEvent::kill

◆ lootState

uint32 SmartEvent::lootState

Definition at line 382 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::los

◆ map

uint32 SmartEvent::map

Definition at line 245 of file SmartScriptMgr.h.

◆ max

uint32 SmartEvent::max

Definition at line 209 of file SmartScriptMgr.h.

◆ maxDist

uint32 SmartEvent::maxDist

Definition at line 236 of file SmartScriptMgr.h.

◆ maxHpPct

uint32 SmartEvent::maxHpPct

Definition at line 398 of file SmartScriptMgr.h.

◆ min

uint32 SmartEvent::min

Definition at line 208 of file SmartScriptMgr.h.

◆ minHpPct

uint32 SmartEvent::minHpPct

Definition at line 397 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::minMax

◆ [struct]

struct { ... } SmartEvent::minMaxRepeat

◆ [struct]

struct { ... } SmartEvent::missingBuff

◆ [struct]

struct { ... } SmartEvent::movementInform

◆ onRemove

SAIBool SmartEvent::onRemove

Definition at line 313 of file SmartScriptMgr.h.

◆ param1

uint32 SmartEvent::param1

Definition at line 429 of file SmartScriptMgr.h.

◆ param2

uint32 SmartEvent::param2

Definition at line 430 of file SmartScriptMgr.h.

◆ param3

uint32 SmartEvent::param3

Definition at line 431 of file SmartScriptMgr.h.

◆ param4

uint32 SmartEvent::param4

Definition at line 432 of file SmartScriptMgr.h.

◆ param5

uint32 SmartEvent::param5

Definition at line 433 of file SmartScriptMgr.h.

◆ param_string

std::string SmartEvent::param_string

Definition at line 437 of file SmartScriptMgr.h.

◆ pathID

uint32 SmartEvent::pathID

Definition at line 333 of file SmartScriptMgr.h.

◆ playerOnly

SAIBool SmartEvent::playerOnly

Definition at line 218 of file SmartScriptMgr.h.

◆ pointID

uint32 SmartEvent::pointID

Definition at line 332 of file SmartScriptMgr.h.

◆ quest [1/2]

uint32 SmartEvent::quest

Definition at line 286 of file SmartScriptMgr.h.

◆ [struct] [2/2]

struct { ... } SmartEvent::quest

◆ [struct]

struct { ... } SmartEvent::questObjective

◆ radius

uint32 SmartEvent::radius

Definition at line 264 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::raw

◆ repeat

uint32 SmartEvent::repeat

Definition at line 409 of file SmartScriptMgr.h.

◆ repeatMax

uint32 SmartEvent::repeatMax

Definition at line 211 of file SmartScriptMgr.h.

◆ repeatMin

uint32 SmartEvent::repeatMin

Definition at line 210 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::respawn

◆ school

uint32 SmartEvent::school

Definition at line 225 of file SmartScriptMgr.h.

◆ sender

uint32 SmartEvent::sender

Definition at line 371 of file SmartScriptMgr.h.

◆ spell

uint32 SmartEvent::spell

Definition at line 224 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::spellCast

◆ [struct]

struct { ... } SmartEvent::spellHit

◆ spellId

uint32 SmartEvent::spellId

Definition at line 259 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::summoned

◆ [struct]

struct { ... } SmartEvent::targetCasting

◆ team

uint32 SmartEvent::team

Definition at line 348 of file SmartScriptMgr.h.

◆ textGroupID

uint32 SmartEvent::textGroupID

Definition at line 355 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::textOver

◆ [struct]

struct { ... } SmartEvent::timedEvent

◆ [struct]

struct { ... } SmartEvent::transportAddCreature

◆ [struct]

struct { ... } SmartEvent::transportRelocate

◆ type [1/2]

SMART_EVENT SmartEvent::type

Definition at line 200 of file SmartScriptMgr.h.

◆ type [2/2]

uint32 SmartEvent::type

Definition at line 244 of file SmartScriptMgr.h.

◆ value

uint32 SmartEvent::value

Definition at line 325 of file SmartScriptMgr.h.

◆ [struct]

struct { ... } SmartEvent::waypoint

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