mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-29 08:33:47 +00:00
feat(Core/Battlegrounds) Reworked enhanced bg system for modules (#2521)
This commit is contained in:
@@ -20,6 +20,8 @@ class Transport;
|
||||
class StaticTransport;
|
||||
class MotionTransport;
|
||||
|
||||
typedef void(*goEventFlag)(Player*, GameObject*, Battleground*);
|
||||
|
||||
#define MAX_GAMEOBJECT_QUEST_ITEMS 6
|
||||
|
||||
// from `gameobject_template`
|
||||
@@ -879,6 +881,8 @@ class GameObject : public WorldObject, public GridObject<GameObject>, public Mov
|
||||
|
||||
void UpdateModelPosition();
|
||||
|
||||
static std::unordered_map<int, goEventFlag> gameObjectToEventFlag; // Gameobject -> event flag
|
||||
|
||||
protected:
|
||||
bool AIM_Initialize();
|
||||
void UpdateModel(); // updates model in case displayId were changed
|
||||
|
||||
Reference in New Issue
Block a user