AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
GameObject.h File Reference
#include "Common.h"
#include "G3D/Quat.h"
#include "GameObjectData.h"
#include "LootMgr.h"
#include "Object.h"
#include "SharedDefines.h"
#include "Unit.h"

Go to the source code of this file.

Classes

union  GameObjectValue
 
class  GameObject
 

Macros

#define FISHING_BOBBER_READY_TIME   5
 

Typedefs

typedef void(* goEventFlag) (Player *, GameObject *, Battleground *)
 
typedef std::unordered_map< uint32, GameObjectTemplateGameObjectTemplateContainer
 
typedef std::unordered_map< uint32, GameObjectTemplateAddonGameObjectTemplateAddonContainer
 
typedef std::unordered_map< uint32, GameObjectAddonGameObjectAddonContainer
 
typedef std::vector< uint32GameObjectQuestItemList
 
typedef std::unordered_map< uint32, GameObjectQuestItemListGameObjectQuestItemMap
 

Enumerations

enum class  GameObjectActions : uint32 {
  None ,
  AnimateCustom0 ,
  AnimateCustom1 ,
  AnimateCustom2 ,
  AnimateCustom3 ,
  Disturb ,
  Unlock ,
  Lock ,
  Open ,
  OpenAndUnlock ,
  Close ,
  ToggleOpen ,
  Destroy ,
  Rebuild ,
  Creation ,
  Despawn ,
  MakeInert ,
  MakeActive ,
  CloseAndLock ,
  UseArtKit0 ,
  UseArtKit1 ,
  UseArtKit2 ,
  UseArtKit3 ,
  SetTapList
}
 
enum  LootState {
  GO_NOT_READY ,
  GO_READY ,
  GO_ACTIVATED ,
  GO_JUST_DEACTIVATED
}
 

Macro Definition Documentation

◆ FISHING_BOBBER_READY_TIME

#define FISHING_BOBBER_READY_TIME   5

Typedef Documentation

◆ GameObjectAddonContainer

typedef std::unordered_map<uint32, GameObjectAddon> GameObjectAddonContainer

◆ GameObjectQuestItemList

typedef std::vector<uint32> GameObjectQuestItemList

◆ GameObjectQuestItemMap

◆ GameObjectTemplateAddonContainer

◆ GameObjectTemplateContainer

◆ goEventFlag

typedef void(* goEventFlag) (Player *, GameObject *, Battleground *)

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 
76{
77 // Name from client executable // Comments
78 None, // -NONE-
79 AnimateCustom0, // Animate Custom0
80 AnimateCustom1, // Animate Custom1
81 AnimateCustom2, // Animate Custom2
82 AnimateCustom3, // Animate Custom3
83 Disturb, // Disturb // Triggers trap
84 Unlock, // Unlock // Resets GO_FLAG_LOCKED
85 Lock, // Lock // Sets GO_FLAG_LOCKED
86 Open, // Open // Sets GO_STATE_ACTIVE
87 OpenAndUnlock, // Open + Unlock // Sets GO_STATE_ACTIVE and resets GO_FLAG_LOCKED
88 Close, // Close // Sets GO_STATE_READY
89 ToggleOpen, // Toggle Open
90 Destroy, // Destroy // Sets GO_STATE_DESTROYED
91 Rebuild, // Rebuild // Resets from GO_STATE_DESTROYED
92 Creation, // Creation
93 Despawn, // Despawn
94 MakeInert, // Make Inert // Disables interactions
95 MakeActive, // Make Active // Enables interactions
96 CloseAndLock, // Close + Lock // Sets GO_STATE_READY and sets GO_FLAG_LOCKED
97 UseArtKit0, // Use ArtKit0 // 46904: 121
98 UseArtKit1, // Use ArtKit1 // 36639: 81, 46903: 122
99 UseArtKit2, // Use ArtKit2
100 UseArtKit3, // Use ArtKit3
101 SetTapList, // Set Tap List
102};

◆ LootState

enum LootState
Enumerator
GO_NOT_READY 
GO_READY 
GO_ACTIVATED 
GO_JUST_DEACTIVATED 
109{
111 GO_READY, // can be ready but despawned, and then not possible activate until spawn
114};
@ GO_ACTIVATED
Definition: GameObject.h:112
@ GO_READY
Definition: GameObject.h:111
@ GO_NOT_READY
Definition: GameObject.h:110
@ GO_JUST_DEACTIVATED
Definition: GameObject.h:113