aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/ZoneScript.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2022-02-12 21:36:46 +0100
committerShauren <shauren.trinity@gmail.com>2022-02-12 21:36:46 +0100
commitf8ad7017dd69e3853ed5912ac6151bc56b6265a0 (patch)
tree13c6568cf2e7b3a7ccb964b12f6686651f0e714d /src/server/game/Maps/ZoneScript.h
parent5b28a5ab14f3ca25f986d547e2d2005be3f047b7 (diff)
Core/Misc: Move (or delete) constructors and destructors to .cpp files (avoids compiling them in every file that includes them)
Diffstat (limited to 'src/server/game/Maps/ZoneScript.h')
-rw-r--r--src/server/game/Maps/ZoneScript.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/server/game/Maps/ZoneScript.h b/src/server/game/Maps/ZoneScript.h
index ad308f7122d..8d3bb397a07 100644
--- a/src/server/game/Maps/ZoneScript.h
+++ b/src/server/game/Maps/ZoneScript.h
@@ -30,8 +30,13 @@ struct CreatureData;
class TC_GAME_API ZoneScript
{
public:
- ZoneScript() { }
- virtual ~ZoneScript() { }
+ ZoneScript();
+ 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; }