TrinityCore
ScriptInfo Struct Reference

#include <ObjectMgr.h>

Public Member Functions

std::string GetDebugInfo () const
 

Public Attributes

ScriptsType type
 
uint32 id
 
uint32 delay
 
ScriptCommands command
 
union {
   struct {
      uint32   nData [3]
 
      float   fData [4]
 
   }   Raw
 
   struct {
      uint32   ChatType
 
      uint32   Flags
 
      int32   TextID
 
   }   Talk
 
   struct {
      uint32   EmoteID
 
      uint32   Flags
 
   }   Emote
 
   struct {
      uint32   FieldID
 
      uint32   FieldValue
 
   }   FieldSet
 
   struct {
      uint32   Unused1
 
      uint32   TravelTime
 
      int32   Unused2
 
      float   DestX
 
      float   DestY
 
      float   DestZ
 
   }   MoveTo
 
   struct {
      uint32   FieldID
 
      uint32   FieldValue
 
   }   FlagToggle
 
   struct {
      uint32   MapID
 
      uint32   Flags
 
      int32   Unused1
 
      float   DestX
 
      float   DestY
 
      float   DestZ
 
      float   Orientation
 
   }   TeleportTo
 
   struct {
      uint32   QuestID
 
      uint32   Distance
 
   }   QuestExplored
 
   struct {
      uint32   CreatureEntry
 
      uint32   Flags
 
   }   KillCredit
 
   struct {
      uint32   GOGuid
 
      uint32   DespawnDelay
 
   }   RespawnGameobject
 
   struct {
      uint32   CreatureEntry
 
      uint32   DespawnDelay
 
      int32   Unused1
 
      float   PosX
 
      float   PosY
 
      float   PosZ
 
      float   Orientation
 
   }   TempSummonCreature
 
   struct {
      uint32   GOGuid
 
      uint32   ResetDelay
 
   }   ToggleDoor
 
   struct {
      uint32   SpellID
 
      uint32   Flags
 
   }   RemoveAura
 
   struct {
      uint32   SpellID
 
      uint32   Flags
 
      int32   CreatureEntry
 
      float   SearchRadius
 
   }   CastSpell
 
   struct {
      uint32   SoundID
 
      uint32   Flags
 
   }   PlaySound
 
   struct {
      uint32   ItemEntry
 
      uint32   Amount
 
   }   CreateItem
 
   struct {
      uint32   DespawnDelay
 
   }   DespawnSelf
 
   struct {
      uint32   PathID
 
      uint32   IsRepeatable
 
   }   LoadPath
 
   struct {
      uint32   CreatureEntry
 
      uint32   ScriptID
 
      uint32   ScriptType
 
   }   CallScript
 
   struct {
      uint32   Unused1
 
      uint32   Unused2
 
      int32   RemoveCorpse
 
   }   Kill
 
   struct {
      uint32   Flags
 
      uint32   Unused1
 
      int32   Unused2
 
      float   Unused3
 
      float   Unused4
 
      float   Unused5
 
      float   Orientation
 
   }   Orientation
 
   struct {
      uint32   EquipmentID
 
   }   Equip
 
   struct {
      uint32   ModelID
 
   }   Model
 
   struct {
      uint32   MovieID
 
   }   PlayMovie
 
   struct {
      uint32   MovementType
 
      uint32   MovementDistance
 
      int32   Path
 
   }   Movement
 
   struct {
      uint32   AnimKitID
 
   }   PlayAnimKit
 
}; 
 

Detailed Description

Definition at line 219 of file ObjectMgr.h.

Member Function Documentation

◆ GetDebugInfo()

std::string ScriptInfo::GetDebugInfo ( ) const

Definition at line 149 of file ObjectMgr.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ 

union { ... } ScriptInfo::@275

◆ Amount

uint32 ScriptInfo::Amount

Definition at line 346 of file ObjectMgr.h.

◆ AnimKitID

uint32 ScriptInfo::AnimKitID

Definition at line 412 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::CallScript

◆ 

struct { ... } ScriptInfo::CastSpell

◆ ChatType

uint32 ScriptInfo::ChatType

Definition at line 236 of file ObjectMgr.h.

◆ command

ScriptCommands ScriptInfo::command

Definition at line 224 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::CreateItem

◆ CreatureEntry [1/2]

uint32 ScriptInfo::CreatureEntry

Definition at line 291 of file ObjectMgr.h.

◆ CreatureEntry [2/2]

int32 ScriptInfo::CreatureEntry

Definition at line 332 of file ObjectMgr.h.

◆ delay

uint32 ScriptInfo::delay

Definition at line 223 of file ObjectMgr.h.

◆ DespawnDelay

uint32 ScriptInfo::DespawnDelay

Definition at line 298 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::DespawnSelf

◆ DestX

float ScriptInfo::DestX

Definition at line 259 of file ObjectMgr.h.

◆ DestY

float ScriptInfo::DestY

Definition at line 260 of file ObjectMgr.h.

◆ DestZ

float ScriptInfo::DestZ

Definition at line 261 of file ObjectMgr.h.

◆ Distance

uint32 ScriptInfo::Distance

Definition at line 286 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Emote

◆ EmoteID

uint32 ScriptInfo::EmoteID

Definition at line 243 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Equip

◆ EquipmentID

uint32 ScriptInfo::EquipmentID

Definition at line 388 of file ObjectMgr.h.

◆ fData

float ScriptInfo::fData[4]

Definition at line 231 of file ObjectMgr.h.

◆ FieldID

uint32 ScriptInfo::FieldID

Definition at line 249 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::FieldSet

◆ FieldValue

uint32 ScriptInfo::FieldValue

Definition at line 250 of file ObjectMgr.h.

◆ Flags

uint32 ScriptInfo::Flags

Definition at line 237 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::FlagToggle

◆ GOGuid

uint32 ScriptInfo::GOGuid

Definition at line 297 of file ObjectMgr.h.

◆ id

uint32 ScriptInfo::id

Definition at line 222 of file ObjectMgr.h.

◆ IsRepeatable

uint32 ScriptInfo::IsRepeatable

Definition at line 357 of file ObjectMgr.h.

◆ ItemEntry

uint32 ScriptInfo::ItemEntry

Definition at line 345 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Kill

◆ 

struct { ... } ScriptInfo::KillCredit

◆ 

struct { ... } ScriptInfo::LoadPath

◆ MapID

uint32 ScriptInfo::MapID

Definition at line 273 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Model

◆ ModelID

uint32 ScriptInfo::ModelID

Definition at line 393 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Movement

◆ MovementDistance

uint32 ScriptInfo::MovementDistance

Definition at line 406 of file ObjectMgr.h.

◆ MovementType

uint32 ScriptInfo::MovementType

Definition at line 405 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::MoveTo

◆ MovieID

uint32 ScriptInfo::MovieID

Definition at line 400 of file ObjectMgr.h.

◆ nData

uint32 ScriptInfo::nData[3]

Definition at line 230 of file ObjectMgr.h.

◆ Orientation [1/2]

float ScriptInfo::Orientation

Definition at line 280 of file ObjectMgr.h.

◆  [2/2]

struct { ... } ScriptInfo::Orientation

◆ Path

int32 ScriptInfo::Path

Definition at line 407 of file ObjectMgr.h.

◆ PathID

uint32 ScriptInfo::PathID

Definition at line 356 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::PlayAnimKit

◆ 

struct { ... } ScriptInfo::PlayMovie

◆ 

struct { ... } ScriptInfo::PlaySound

◆ PosX

float ScriptInfo::PosX

Definition at line 307 of file ObjectMgr.h.

◆ PosY

float ScriptInfo::PosY

Definition at line 308 of file ObjectMgr.h.

◆ PosZ

float ScriptInfo::PosZ

Definition at line 309 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::QuestExplored

◆ QuestID

uint32 ScriptInfo::QuestID

Definition at line 285 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Raw

◆ 

struct { ... } ScriptInfo::RemoveAura

◆ RemoveCorpse

int32 ScriptInfo::RemoveCorpse

Definition at line 371 of file ObjectMgr.h.

◆ ResetDelay

uint32 ScriptInfo::ResetDelay

Definition at line 317 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::RespawnGameobject

◆ ScriptID

uint32 ScriptInfo::ScriptID

Definition at line 363 of file ObjectMgr.h.

◆ ScriptType

uint32 ScriptInfo::ScriptType

Definition at line 364 of file ObjectMgr.h.

◆ SearchRadius

float ScriptInfo::SearchRadius

Definition at line 334 of file ObjectMgr.h.

◆ SoundID

uint32 ScriptInfo::SoundID

Definition at line 339 of file ObjectMgr.h.

◆ SpellID

uint32 ScriptInfo::SpellID

Definition at line 324 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::Talk

◆ 

struct { ... } ScriptInfo::TeleportTo

◆ 

struct { ... } ScriptInfo::TempSummonCreature

◆ TextID

int32 ScriptInfo::TextID

Definition at line 238 of file ObjectMgr.h.

◆ 

struct { ... } ScriptInfo::ToggleDoor

◆ TravelTime

uint32 ScriptInfo::TravelTime

Definition at line 256 of file ObjectMgr.h.

◆ type

ScriptsType ScriptInfo::type

Definition at line 221 of file ObjectMgr.h.

◆ Unused1 [1/2]

uint32 ScriptInfo::Unused1

Definition at line 255 of file ObjectMgr.h.

◆ Unused1 [2/2]

int32 ScriptInfo::Unused1

Definition at line 275 of file ObjectMgr.h.

◆ Unused2 [1/2]

int32 ScriptInfo::Unused2

Definition at line 257 of file ObjectMgr.h.

◆ Unused2 [2/2]

uint32 ScriptInfo::Unused2

Definition at line 370 of file ObjectMgr.h.

◆ Unused3

float ScriptInfo::Unused3

Definition at line 380 of file ObjectMgr.h.

◆ Unused4

float ScriptInfo::Unused4

Definition at line 381 of file ObjectMgr.h.

◆ Unused5

float ScriptInfo::Unused5

Definition at line 382 of file ObjectMgr.h.


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