Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
SmartEvent Struct Reference

#include <SmartScriptMgr.h>

Public Attributes

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

Detailed Description

Definition at line 150 of file SmartScriptMgr.h.

Member Data Documentation

◆ [union]

union { ... } SmartEvent

◆ action

uint32 SmartEvent::action

Definition at line 325 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ area

uint32 SmartEvent::area

Definition at line 195 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::areatrigger

◆ [struct]

struct { ... } SmartEvent::aura

◆ [struct]

struct { ... } SmartEvent::behindTarget

◆ cooldownMax

uint32 SmartEvent::cooldownMax

◆ cooldownMin

uint32 SmartEvent::cooldownMin

◆ count

uint32 SmartEvent::count

Definition at line 256 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ creature

uint32 SmartEvent::creature

Definition at line 171 of file SmartScriptMgr.h.

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

◆ creatureEntry

uint32 SmartEvent::creatureEntry

Definition at line 314 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ [struct]

struct { ... } SmartEvent::dataSet

◆ [struct]

struct { ... } SmartEvent::doAction

◆ [struct]

struct { ... } SmartEvent::dummy

◆ effIndex

uint32 SmartEvent::effIndex

Definition at line 331 of file SmartScriptMgr.h.

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

◆ [struct] [1/2]

struct { ... } SmartEvent::emote

◆ emote [2/2]

uint32 SmartEvent::emote

Definition at line 248 of file SmartScriptMgr.h.

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

◆ event_chance

uint32 SmartEvent::event_chance

◆ event_flags

◆ event_phase_mask

◆ eventId

uint32 SmartEvent::eventId

Definition at line 352 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::eventInform

◆ [struct]

struct { ... } SmartEvent::friendlyCC

◆ [struct]

struct { ... } SmartEvent::friendlyHealth

◆ [struct]

struct { ... } SmartEvent::friendlyHealthPct

◆ [struct]

struct { ... } SmartEvent::gameEvent

◆ gameEventId

uint32 SmartEvent::gameEventId

Definition at line 342 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::gossip

◆ [struct]

struct { ... } SmartEvent::goStateChanged

◆ hpDeficit

uint32 SmartEvent::hpDeficit

Definition at line 213 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ id

uint32 SmartEvent::id

Definition at line 272 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::instancePlayerEnter

◆ [struct]

struct { ... } SmartEvent::kill

◆ [struct]

struct { ... } SmartEvent::los

◆ map

uint32 SmartEvent::map

Definition at line 194 of file SmartScriptMgr.h.

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

◆ max

◆ maxDist

uint32 SmartEvent::maxDist

Definition at line 185 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ maxHpPct

uint32 SmartEvent::maxHpPct

Definition at line 363 of file SmartScriptMgr.h.

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

◆ min

◆ minHpPct

uint32 SmartEvent::minHpPct

Definition at line 362 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::minMax

◆ [struct]

◆ [struct]

struct { ... } SmartEvent::missingBuff

◆ [struct]

struct { ... } SmartEvent::movementInform

◆ noHostile

uint32 SmartEvent::noHostile

Definition at line 184 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ param1

uint32 SmartEvent::param1

Definition at line 370 of file SmartScriptMgr.h.

Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().

◆ param2

uint32 SmartEvent::param2

Definition at line 371 of file SmartScriptMgr.h.

Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().

◆ param3

uint32 SmartEvent::param3

Definition at line 372 of file SmartScriptMgr.h.

Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().

◆ param4

uint32 SmartEvent::param4

Definition at line 373 of file SmartScriptMgr.h.

Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().

◆ param5

uint32 SmartEvent::param5

Definition at line 374 of file SmartScriptMgr.h.

Referenced by SmartScript::CreateEvent(), and SmartAIMgr::LoadSmartAIFromDB().

◆ pathID

uint32 SmartEvent::pathID

Definition at line 286 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ playerOnly

uint32 SmartEvent::playerOnly

Definition at line 170 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ pointID

uint32 SmartEvent::pointID

Definition at line 285 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ [struct] [1/2]

struct { ... } SmartEvent::quest

◆ quest [2/2]

uint32 SmartEvent::quest

Definition at line 243 of file SmartScriptMgr.h.

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

◆ radius

uint32 SmartEvent::radius

Definition at line 214 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::raw

◆ repeatMax

uint32 SmartEvent::repeatMax

◆ repeatMin

uint32 SmartEvent::repeatMin

◆ [struct]

struct { ... } SmartEvent::respawn

◆ school

uint32 SmartEvent::school

Definition at line 177 of file SmartScriptMgr.h.

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

◆ sender

uint32 SmartEvent::sender

Definition at line 324 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ spell

uint32 SmartEvent::spell

Definition at line 176 of file SmartScriptMgr.h.

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

◆ [struct]

struct { ... } SmartEvent::spellHit

◆ spellId

uint32 SmartEvent::spellId

Definition at line 208 of file SmartScriptMgr.h.

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

◆ state

uint32 SmartEvent::state

Definition at line 347 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ [struct]

struct { ... } SmartEvent::summoned

◆ [struct]

struct { ... } SmartEvent::targetAura

◆ [struct]

struct { ... } SmartEvent::targetCasting

◆ team

uint32 SmartEvent::team

Definition at line 301 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ textGroupID

uint32 SmartEvent::textGroupID

Definition at line 313 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ [struct]

struct { ... } SmartEvent::textOver

◆ [struct]

struct { ... } SmartEvent::timedEvent

◆ [struct]

struct { ... } SmartEvent::transportAddCreature

◆ [struct]

struct { ... } SmartEvent::transportRelocate

◆ type [1/2]

uint32 SmartEvent::type

Definition at line 193 of file SmartScriptMgr.h.

◆ type [2/2]

◆ value

uint32 SmartEvent::value

Definition at line 278 of file SmartScriptMgr.h.

Referenced by SmartScript::ProcessEvent().

◆ [struct]

struct { ... } SmartEvent::waypoint

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