diff options
author | Shauren <shauren.trinity@gmail.com> | 2022-12-20 01:03:58 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-12-20 01:03:58 +0100 |
commit | 21940405e009f5c1d201eb96d96ea251a3313af3 (patch) | |
tree | 1f9ec696204922f921ff1e32da3714f8706bd28c /src/server/game/Maps/ZoneScript.h | |
parent | 85d5f4bc0683d99cfaab244a8f0355b463f93267 (diff) |
Core/Battlegrounds: Made Battleground inherit ZoneScript
Closes #28480
Diffstat (limited to 'src/server/game/Maps/ZoneScript.h')
-rw-r--r-- | src/server/game/Maps/ZoneScript.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/server/game/Maps/ZoneScript.h b/src/server/game/Maps/ZoneScript.h index d9bb1b417d9..ad0cab88b24 100644 --- a/src/server/game/Maps/ZoneScript.h +++ b/src/server/game/Maps/ZoneScript.h @@ -31,13 +31,12 @@ class TC_GAME_API ZoneScript { public: ZoneScript(); + ZoneScript(ZoneScript const& right); + ZoneScript(ZoneScript&& right) noexcept; + ZoneScript& operator=(ZoneScript const& right); + ZoneScript& operator=(ZoneScript&& right) noexcept; virtual ~ZoneScript(); - ZoneScript(ZoneScript const& right) = delete; - ZoneScript(ZoneScript&& right) = delete; - ZoneScript& operator=(ZoneScript const& right) = delete; - ZoneScript& operator=(ZoneScript&& right) = delete; - virtual uint32 GetCreatureEntry(ObjectGuid::LowType /*spawnId*/, CreatureData const* data); virtual uint32 GetGameObjectEntry(ObjectGuid::LowType /*spawnId*/, uint32 entry) { return entry; } |