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

◆ LootState

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