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

#include <ObjectMgr.h>

Public Member Functions

std::string GetDebugInfo () const

Public Attributes

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

Detailed Description

Definition at line 191 of file ObjectMgr.h.

Member Function Documentation

◆ GetDebugInfo()

Member Data Documentation

◆ [union]

union { ... } ScriptInfo

◆ Amount

uint32 ScriptInfo::Amount

Definition at line 318 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::CallScript

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::CastSpell

◆ ChatType

uint32 ScriptInfo::ChatType

Definition at line 208 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ command

◆ [struct]

struct { ... } ScriptInfo::CreateItem

◆ CreatureEntry [1/2]

int32 ScriptInfo::CreatureEntry

Definition at line 304 of file ObjectMgr.h.

◆ CreatureEntry [2/2]

uint32 ScriptInfo::CreatureEntry

Definition at line 263 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ delay

uint32 ScriptInfo::delay

Definition at line 195 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts().

◆ DespawnDelay

uint32 ScriptInfo::DespawnDelay

Definition at line 270 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::DespawnSelf

Referenced by Map::ScriptsProcess().

◆ DestX

float ScriptInfo::DestX

Definition at line 231 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ DestY

float ScriptInfo::DestY

Definition at line 232 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ DestZ

float ScriptInfo::DestZ

Definition at line 233 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ Distance

uint32 ScriptInfo::Distance

Definition at line 258 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Emote

◆ EmoteID

uint32 ScriptInfo::EmoteID

Definition at line 215 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Equip

Referenced by Map::ScriptsProcess().

◆ EquipmentID

uint32 ScriptInfo::EquipmentID

Definition at line 360 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ fData

float ScriptInfo::fData[4]

Definition at line 203 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts().

◆ FieldID

uint32 ScriptInfo::FieldID

Definition at line 221 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::FieldSet

Referenced by Map::ScriptsProcess().

◆ FieldValue

uint32 ScriptInfo::FieldValue

Definition at line 222 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ Flags

uint32 ScriptInfo::Flags

Definition at line 209 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::FlagToggle

Referenced by Map::ScriptsProcess().

◆ GOGuid

uint32 ScriptInfo::GOGuid

◆ id

uint32 ScriptInfo::id

Definition at line 194 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts().

◆ IsRepeatable

uint32 ScriptInfo::IsRepeatable

Definition at line 329 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ ItemEntry

uint32 ScriptInfo::ItemEntry

Definition at line 317 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Kill

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::KillCredit

◆ [struct]

struct { ... } ScriptInfo::LoadPath

Referenced by Map::ScriptsProcess().

◆ MapID

uint32 ScriptInfo::MapID

Definition at line 245 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Model

Referenced by Map::ScriptsProcess().

◆ ModelID

uint32 ScriptInfo::ModelID

Definition at line 365 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::MoveTo

Referenced by Map::ScriptsProcess().

◆ MovieID

uint32 ScriptInfo::MovieID

Definition at line 372 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ nData

uint32 ScriptInfo::nData[3]

Definition at line 202 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts().

◆ [struct] [1/2]

struct { ... } ScriptInfo::Orientation

◆ Orientation [2/2]

float ScriptInfo::Orientation

Definition at line 252 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ PathID

uint32 ScriptInfo::PathID

Definition at line 328 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::PlayMovie

Referenced by Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::PlaySound

Referenced by Map::ScriptsProcess().

◆ PosX

float ScriptInfo::PosX

Definition at line 279 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ PosY

float ScriptInfo::PosY

Definition at line 280 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ PosZ

float ScriptInfo::PosZ

Definition at line 281 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::QuestExplored

◆ QuestID

uint32 ScriptInfo::QuestID

Definition at line 257 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Raw

Referenced by ObjectMgr::LoadScripts().

◆ [struct]

struct { ... } ScriptInfo::RemoveAura

◆ RemoveCorpse

int32 ScriptInfo::RemoveCorpse

Definition at line 343 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ ResetDelay

uint32 ScriptInfo::ResetDelay

Definition at line 289 of file ObjectMgr.h.

Referenced by Map::_ScriptProcessDoor().

◆ [struct]

struct { ... } ScriptInfo::RespawnGameobject

◆ ScriptID

uint32 ScriptInfo::ScriptID

Definition at line 335 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ ScriptType

uint32 ScriptInfo::ScriptType

Definition at line 336 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ SearchRadius

float ScriptInfo::SearchRadius

Definition at line 306 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ SoundID

uint32 ScriptInfo::SoundID

Definition at line 311 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ SpellID

uint32 ScriptInfo::SpellID

Definition at line 296 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::Talk

◆ [struct]

struct { ... } ScriptInfo::TeleportTo

◆ [struct]

struct { ... } ScriptInfo::TempSummonCreature

◆ TextID

int32 ScriptInfo::TextID

Definition at line 210 of file ObjectMgr.h.

Referenced by ObjectMgr::LoadScripts(), and Map::ScriptsProcess().

◆ [struct]

struct { ... } ScriptInfo::ToggleDoor

◆ TravelTime

uint32 ScriptInfo::TravelTime

Definition at line 228 of file ObjectMgr.h.

Referenced by Map::ScriptsProcess().

◆ type

ScriptsType ScriptInfo::type

Definition at line 193 of file ObjectMgr.h.

Referenced by GetDebugInfo(), and ObjectMgr::LoadScripts().

◆ Unused1 [1/2]

int32 ScriptInfo::Unused1

Definition at line 247 of file ObjectMgr.h.

◆ Unused1 [2/2]

uint32 ScriptInfo::Unused1

Definition at line 227 of file ObjectMgr.h.

◆ Unused2 [1/2]

uint32 ScriptInfo::Unused2

Definition at line 342 of file ObjectMgr.h.

◆ Unused2 [2/2]

int32 ScriptInfo::Unused2

Definition at line 229 of file ObjectMgr.h.

◆ Unused3

float ScriptInfo::Unused3

Definition at line 352 of file ObjectMgr.h.

◆ Unused4

float ScriptInfo::Unused4

Definition at line 353 of file ObjectMgr.h.

◆ Unused5

float ScriptInfo::Unused5

Definition at line 354 of file ObjectMgr.h.


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