TrinityCore
Loading...
Searching...
No Matches
GameObjectData.h File Reference
#include "Common.h"
#include "QuaternionData.h"
#include "SharedDefines.h"
#include "SpawnData.h"
#include "WorldPacket.h"
#include <array>
#include <string>
+ Include dependency graph for GameObjectData.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  GameObjectTemplate
 
struct  GameObjectOverride
 
struct  GameObjectTemplateAddon
 
struct  GameObjectLocale
 
struct  GameObjectAddon
 
struct  GameObjectData
 

Enumerations

enum class  GameObjectActions : uint32 {
  None = 0 , AnimateCustom0 = 1 , AnimateCustom1 = 2 , AnimateCustom2 = 3 ,
  AnimateCustom3 = 4 , Disturb = 5 , Unlock = 6 , Lock = 7 ,
  Open = 8 , OpenAndUnlock = 9 , Close = 10 , ToggleOpen = 11 ,
  Destroy = 12 , Rebuild = 13 , Creation = 14 , Despawn = 15 ,
  MakeInert = 16 , MakeActive = 17 , CloseAndLock = 18 , UseArtKit0 = 19 ,
  UseArtKit1 = 20 , UseArtKit2 = 21 , UseArtKit3 = 22 , SetTapList = 23 ,
  GoTo1stFloor = 24 , GoTo2ndFloor = 25 , GoTo3rdFloor = 26 , GoTo4thFloor = 27 ,
  GoTo5thFloor = 28 , GoTo6thFloor = 29 , GoTo7thFloor = 30 , GoTo8thFloor = 31 ,
  GoTo9thFloor = 32 , GoTo10thFloor = 33 , UseArtKit4 = 34 , PlayAnimKit = 35 ,
  OpenAndPlayAnimKit = 36 , CloseAndPlayAnimKit = 37 , PlayOneShotAnimKit = 38 , StopAnimKit = 39 ,
  OpenAndStopAnimKit = 40 , CloseAndStopAnimKit = 41 , PlaySpellVisual = 42 , StopSpellVisual = 43 ,
  SetTappedToChallengePlayers = 44 , Max
}
 

Enumeration Type Documentation

◆ GameObjectActions

enum class GameObjectActions : uint32
strong
Enumerator
None 
AnimateCustom0 
AnimateCustom1 
AnimateCustom2 
AnimateCustom3 
Disturb 
Unlock 
Lock 
Open 
OpenAndUnlock 
Close 
ToggleOpen 
Destroy 
Rebuild 
Creation 
Despawn 
MakeInert 
MakeActive 
CloseAndLock 
UseArtKit0 
UseArtKit1 
UseArtKit2 
UseArtKit3 
SetTapList 
GoTo1stFloor 
GoTo2ndFloor 
GoTo3rdFloor 
GoTo4thFloor 
GoTo5thFloor 
GoTo6thFloor 
GoTo7thFloor 
GoTo8thFloor 
GoTo9thFloor 
GoTo10thFloor 
UseArtKit4 
PlayAnimKit 
OpenAndPlayAnimKit 
CloseAndPlayAnimKit 
PlayOneShotAnimKit 
StopAnimKit 
OpenAndStopAnimKit 
CloseAndStopAnimKit 
PlaySpellVisual 
StopSpellVisual 
SetTappedToChallengePlayers 
Max 
1284{
1285 // Name from client executable // Comments
1286 None = 0, // -NONE-
1287 AnimateCustom0 = 1, // Animate Custom0
1288 AnimateCustom1 = 2, // Animate Custom1
1289 AnimateCustom2 = 3, // Animate Custom2
1290 AnimateCustom3 = 4, // Animate Custom3
1291 Disturb = 5, // Disturb // Triggers trap
1292 Unlock = 6, // Unlock // Resets GO_FLAG_LOCKED
1293 Lock = 7, // Lock // Sets GO_FLAG_LOCKED
1294 Open = 8, // Open // Sets GO_STATE_ACTIVE
1295 OpenAndUnlock = 9, // Open + Unlock // Sets GO_STATE_ACTIVE and resets GO_FLAG_LOCKED
1296 Close = 10, // Close // Sets GO_STATE_READY
1297 ToggleOpen = 11, // Toggle Open
1298 Destroy = 12, // Destroy // Sets GO_STATE_DESTROYED
1299 Rebuild = 13, // Rebuild // Resets from GO_STATE_DESTROYED
1300 Creation = 14, // Creation
1301 Despawn = 15, // Despawn
1302 MakeInert = 16, // Make Inert // Disables interactions
1303 MakeActive = 17, // Make Active // Enables interactions
1304 CloseAndLock = 18, // Close + Lock // Sets GO_STATE_READY and sets GO_FLAG_LOCKED
1305 UseArtKit0 = 19, // Use ArtKit0 // 46904: 121
1306 UseArtKit1 = 20, // Use ArtKit1 // 36639: 81, 46903: 122
1307 UseArtKit2 = 21, // Use ArtKit2
1308 UseArtKit3 = 22, // Use ArtKit3
1309 SetTapList = 23, // Set Tap List
1310 GoTo1stFloor = 24, // Go to 1st floor
1311 GoTo2ndFloor = 25, // Go to 2nd floor
1312 GoTo3rdFloor = 26, // Go to 3rd floor
1313 GoTo4thFloor = 27, // Go to 4th floor
1314 GoTo5thFloor = 28, // Go to 5th floor
1315 GoTo6thFloor = 29, // Go to 6th floor
1316 GoTo7thFloor = 30, // Go to 7th floor
1317 GoTo8thFloor = 31, // Go to 8th floor
1318 GoTo9thFloor = 32, // Go to 9th floor
1319 GoTo10thFloor = 33, // Go to 10th floor
1320 UseArtKit4 = 34, // Use ArtKit4
1321 PlayAnimKit = 35, // Play Anim Kit "{AnimKit}"
1322 OpenAndPlayAnimKit = 36, // Open + Play Anim Kit "{AnimKit}"
1323 CloseAndPlayAnimKit = 37, // Close + Play Anim Kit "{AnimKit}"
1324 PlayOneShotAnimKit = 38, // Play One-shot Anim Kit "{AnimKit}"
1325 StopAnimKit = 39, // Stop Anim Kit
1326 OpenAndStopAnimKit = 40, // Open + Stop Anim Kit
1327 CloseAndStopAnimKit = 41, // Close + Stop Anim Kit
1328 PlaySpellVisual = 42, // Play Spell Visual "{SpellVisual}"
1329 StopSpellVisual = 43, // Stop Spell Visual
1330 SetTappedToChallengePlayers = 44, // Set Tapped to Challenge Players
1331 Max
1332};